summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2014-09-13 10:33:24 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2014-09-13 10:33:24 +0200
commit4acd6c331229fcf1e519d853866d4ea6b369e5b1 (patch)
tree0acf7ae1dd04410a3bc5b20cd22ee51199dec82c
parent950b62da58542938adec366620948c85b78607dd (diff)
downloadgnutls-4acd6c331229fcf1e519d853866d4ea6b369e5b1.tar.gz
Revert "gnutls_x509_crl_verify: do not always set the invalid status"
This reverts commit 950b62da58542938adec366620948c85b78607dd.
-rw-r--r--lib/x509/verify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/x509/verify.c b/lib/x509/verify.c
index ad545017e4..af302b8a7e 100644
--- a/lib/x509/verify.c
+++ b/lib/x509/verify.c
@@ -1459,7 +1459,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);