diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-03-26 09:58:04 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-03-26 09:58:04 +0100 |
commit | b6384740ea65abf2dc947778759a4db435fc8e05 (patch) | |
tree | d79ebf13b8ee4b3a33244b982b8c82e9b9248782 /src/certtool-common.c | |
parent | f029209722489cb0767219e6841adcc54fa979da (diff) | |
download | gnutls-b6384740ea65abf2dc947778759a4db435fc8e05.tar.gz |
fixes for 'medium' level
Diffstat (limited to 'src/certtool-common.c')
-rw-r--r-- | src/certtool-common.c | 2 |
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; |