[gnutls-devel] GnuTLS | ocsp: set GNUTLS_CERT_INVALID if OCSP response indicates revocation (!1159)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Thu Jan 9 10:42:35 CET 2020




Daiki Ueno commented on a discussion on lib/cert-session.c: https://gitlab.com/gnutls/gnutls/merge_requests/1159#note_269045999

>  		_gnutls_audit_log(session,
>  				  "The certificate was revoked via OCSP\n");
>  		check_failed = 1;
> +		*ostatus |= GNUTLS_CERT_INVALID;

I don't quite get it: do you mean to write: `*ostatus |= GNUTLS_CERT_INVALID | GNUTLS_CERT_REVOKED` in a single line instead of two lines?

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/1159#note_269045999
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20200109/97ecc410/attachment-0001.html>


More information about the Gnutls-devel mailing list