[gnutls-devel] GnuTLS | add gnutls_pkcs7_get_signature_count test (!1721)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Mon Mar 6 10:26:35 CET 2023




Daiki Ueno started a new discussion on tests/pkcs7-gen.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1721#note_1301884817

>  		exit(1);
>  	}
>  
> +	ret = gnutls_pkcs7_get_signature_count(pkcs7);
> +	if (ret < 0) {

Should we check against the known number of signatures rather than just checking non-negativeness?

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1721#note_1301884817
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/20230306/b370d29d/attachment.html>


More information about the Gnutls-devel mailing list