]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Removed redundant error check. Reported by Nicolas Kaiser.
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Thu, 11 Nov 2010 22:19:35 +0000 (23:19 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Thu, 11 Nov 2010 22:19:35 +0000 (23:19 +0100)
lib/gnutls_x509.c

index 802a81db1b22e8ea3b26b24e5dabeadfed8e5631..1ea19e3b431918126f54b3d480909d129c09a613 100644 (file)
@@ -160,14 +160,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)
        {