[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 17:11:28 CET 2020




Daiki Ueno commented on a discussion on lib/x509/common.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1354#note_451067733

>  	 * 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++) {

On a related note, we might eventually want to use a proper topological sort algorithm.

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


More information about the Gnutls-devel mailing list