[gnutls-devel] GnuTLS | x509: drop endless loop in print_extensions (!1205)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Tue Mar 10 21:35:56 CET 2020




Dmitry Baryshkov commented on a discussion on lib/x509/output.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1205#note_302755283

>  			return;
>  		}
>  
> +		if (err == GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE)
> +			break;
>  		if (err < 0) {
> -			if (err == GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE)
> -				break;
>  			addf(str, "error: get_extension_info: %s\n",
>  			     gnutls_strerror(err));
> -			continue;

True, fixed now.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1205#note_302755283
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/20200310/49bb22ec/attachment.html>


More information about the Gnutls-devel mailing list