[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 16:27:02 CET 2020
Nikos Mavrogiannopoulos started a new discussion on lib/x509/output.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1205#note_302584308
> break;
> addf(str, "error: get_extension_info: %s\n",
> gnutls_strerror(err));
> + /* After addf to get error message */
> + if (err == GNUTLS_E_ASN1_DER_ERROR)
Given that the loop is infinite by design do we want to break on this error only or on any error? I'm thinking that a different error could potentially reactivate the infinite loop.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1205#note_302584308
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/e0b18512/attachment.html>
More information about the Gnutls-devel
mailing list