]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Revert "gnutls_x509_crl_verify: do not always set the invalid status"
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 13 Sep 2014 08:33:40 +0000 (10:33 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 13 Sep 2014 08:33:40 +0000 (10:33 +0200)
This reverts commit a922ee10c5f3902988e5730a1e6fbf77b033058c.

lib/x509/verify.c

index 0cc572bcedb73cb419213d7de845e4f6ef24c88f..81b9b4d3e4f42efe721740f4a7458a49398bd4bf 100644 (file)
@@ -1505,7 +1505,7 @@ gnutls_x509_crl_verify(gnutls_x509_crl_t crl,
 
 
       cleanup:
-       if (verify && *verify != 0)
+       if (verify)
                *verify |= GNUTLS_CERT_INVALID;
 
        _gnutls_free_datum(&crl_signed_data);