[gnutls-devel] GnuTLS | Fix for 1724 (!1988)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Tue Jul 29 15:36:50 CEST 2025



Merge request https://gitlab.com/gnutls/gnutls/-/merge_requests/1988 was reviewed by Daiki Ueno

--
  
Daiki Ueno started a new discussion on lib/tpm2/callbacks/hash/hash_callbacks.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1988#note_2656617281

 >  #include "config.h"
 >  
 > +#include "gnutls_int.h"

I guess this is no longer needed?

--
  
Daiki Ueno started a new discussion on lib/tpm2/callbacks/esys_crypto_callbacks.h: https://gitlab.com/gnutls/gnutls/-/merge_requests/1988#note_2656617314

 > +#else
 > +/* Crypto callbacks not supported - provide empty inline implementation */
 > +static inline int _gnutls_setup_tss2_callbacks(ESYS_CONTEXT *ctx) { return 0; }

Instead of providing a stub implementation of this internal function, I would rather add `#ifdef` ... `#endif` to the caller so it only calls `_gnutls_setup_tss2_callbacks` when crypto callbacks are usable.


-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1988
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/20250729/759de77d/attachment.html>


More information about the Gnutls-devel mailing list