[gnutls-devel] GnuTLS | cert-session: ensure that invalid flag is always set (!1304)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Wed Aug 12 10:04:59 CEST 2020




Sahana Prasad started a new discussion on src/common.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1304#note_394625405

>  
>  	gnutls_free(out.data);
>  
> -	if (status)
> +	if (status) {
> +		if (!(status & GNUTLS_CERT_INVALID))

So when anything other than `GNUTLS_CERT_INVALID` is set in status, you would like to abort? Could you clarify why this would be needed?

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1304#note_394625405
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/20200812/30ed8945/attachment.html>


More information about the Gnutls-devel mailing list