[gnutls-devel] GnuTLS | Support building with Nettle 4 (!2075)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Tue Mar 3 10:12:15 CET 2026




Daiki Ueno commented on a discussion on lib/x509_b64.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/2075#note_3126861993

 >  
 >  	ret = base64_decode_update(&ctx, &size, result->data, pdata.size,
 >  				   (void *)pdata.data);
 > -	if (ret == 0 || size == 0) {
 > +	/* Nettle 4 returns -1 on error, while Nettle 3 returns 0;
 > +	 * catch both
 > +	 */

Thank you for spotting this; I was apparently using a pre-released version for testing. I'm picking it up in https://gitlab.com/gnutls/gnutls/-/merge_requests/2078

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/2075#note_3126861993
You're receiving this email because of your account on gitlab.com. Unsubscribe from this thread: https://gitlab.com/-/sent_notifications/3-3j8gaaolifhet4hfl7h074fy4/unsubscribe | Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20260303/be11ce58/attachment-0001.html>


More information about the Gnutls-devel mailing list