summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2010-11-11 23:20:20 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-11-11 23:20:20 +0100
commitad896d8a1916e328b57458fec79b0deaf62fa4a6 (patch)
tree361d39911d3e3febf59ba824c8d8a015e4bebee0
parentf48cb4e387e0b89627310499ce5d80b3063a5ee2 (diff)
downloadgnutls-ad896d8a1916e328b57458fec79b0deaf62fa4a6.tar.gz
Removed redundant error check. Reported by Nicolas Kaiser.
-rw-r--r--lib/gnutls_x509.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/gnutls_x509.c b/lib/gnutls_x509.c
index 5dd01efea8..a68e06c5c1 100644
--- a/lib/gnutls_x509.c
+++ b/lib/gnutls_x509.c
@@ -159,14 +159,6 @@ _gnutls_x509_cert_verify_peers (gnutls_session_t session,
return ret;
}
-
- if (ret < 0)
- {
- gnutls_assert ();
- CLEAR_CERTS;
- return ret;
- }
-
ret = check_bits (peer_certificate_list[i], cred->verify_bits);
if (ret < 0)
{