summaryrefslogtreecommitdiff
path: root/src/certtool-common.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2014-03-26 09:58:04 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2014-03-26 09:58:04 +0100
commitb6384740ea65abf2dc947778759a4db435fc8e05 (patch)
treed79ebf13b8ee4b3a33244b982b8c82e9b9248782 /src/certtool-common.c
parentf029209722489cb0767219e6841adcc54fa979da (diff)
downloadgnutls-b6384740ea65abf2dc947778759a4db435fc8e05.tar.gz
fixes for 'medium' level
Diffstat (limited to 'src/certtool-common.c')
-rw-r--r--src/certtool-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/certtool-common.c b/src/certtool-common.c
index de87e3015c..389472daac 100644
--- a/src/certtool-common.c
+++ b/src/certtool-common.c
@@ -644,7 +644,7 @@ gnutls_sec_param_t str_to_sec_param(const char *str)
return GNUTLS_SEC_PARAM_LOW;
} else if (strcasecmp(str, "legacy") == 0) {
return GNUTLS_SEC_PARAM_LEGACY;
- } else if (strcasecmp(str, "normal") == 0 || strcasecmp(str, "medium")) {
+ } else if (strcasecmp(str, "normal") == 0 || strcasecmp(str, "medium") == 0) {
return GNUTLS_SEC_PARAM_MEDIUM;
} else if (strcasecmp(str, "high") == 0) {
return GNUTLS_SEC_PARAM_HIGH;