diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2018-09-26 09:38:04 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2018-09-26 12:43:33 +0200 |
commit | 8518dea53df9bdd3b0c7b38ecf70d2abc4b4bebd (patch) | |
tree | 3c555f5e3a3e64a320aabf8dbd6c9d4950467209 | |
parent | 815c17ede4dc9033a8fc34d2d66f35ff47291b84 (diff) | |
download | gnutls-tmp-eliminate-dead-code.tar.gz |
_gnutls_check_key_purpose: eliminated dead codetmp-eliminate-dead-code
Resolves #573
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r-- | lib/x509/verify.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/x509/verify.c b/lib/x509/verify.c index a59e637642..58acf42b86 100644 --- a/lib/x509/verify.c +++ b/lib/x509/verify.c @@ -992,8 +992,6 @@ _gnutls_verify_crt_status(const gnutls_x509_crt_t * certificate_list, */ for (i = clist_size - 1; i > 0; i--) { output = 0; - if (i - 1 < 0) - break; if (purpose != NULL) { ret = _gnutls_check_key_purpose(certificate_list[i], purpose, 1); |