aboutsummaryrefslogtreecommitdiffstats
path: root/g10/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/misc.c')
-rw-r--r--g10/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/misc.c b/g10/misc.c
index 32a5e22b3..6d3b047e8 100644
--- a/g10/misc.c
+++ b/g10/misc.c
@@ -1216,7 +1216,7 @@ string_to_aead_algo (const char *string)
if (!string)
result = 0;
- if (!ascii_strcasecmp (string, "EAX"))
+ else if (!ascii_strcasecmp (string, "EAX"))
result = 1;
else if (!ascii_strcasecmp (string, "OCB"))
result = 2;