[gnutls-devel] GnuTLS | x509: check certificate trust status when adding CA through AIA (!1354)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Thu Nov 19 13:41:42 CET 2020




Sahana Prasad commented on a discussion on lib/x509/common.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1354#note_450876749

>  	 * in issuer array. O(n^2) so consider that before
>  	 * increasing DEFAULT_MAX_VERIFY_DEPTH.
>  	 */
> -	for (i = 0; i < *clist_size; i++) {
> -		for (j = 1; j < *clist_size; j++) {
> +	for (i = 0; i < clist_size; i++) {
> +		for (j = 1; j < clist_size; j++) {

I got confused with the example with [D, C, A, H, G] as input and 

Round 1 [A, C, D, H, G] return 1
Round 2 [A, C, D, H, G] return 2
Round 3 [A, C, D, G, H]

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1354#note_450876749
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/20201119/898b339b/attachment.html>


More information about the Gnutls-devel mailing list