[gnutls-devel] GnuTLS | pkcs11: try to initialize modules in thread-safe mode (!2014)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Mon Sep 8 13:48:49 CEST 2025




Daiki Ueno commented on a discussion on lib/pkcs11.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/2014#note_2736098045

 > +		_gnutls_debug_log(
 > +			"p11: Module %s is initialized in a thread-safe mode\n",
 > +			name);
 > +	} else {
 > +		_gnutls_debug_log(
 > +			"p11: Module %s is initialized NOT in a thread-safe mode\n",
 > +			name);
 > +	}
 > +	free(name);
 > +
 > +	memset(provider, 0, sizeof(*provider));
 > +	provider->module = module;
 > +	args.reserved = args.reserved ? strdup((const char *)args.reserved) :
 > +					NULL;
 > +	provider->init_args = args;
 > +	if (p11_kit_module_get_flags(module) & P11_KIT_MODULE_TRUSTED ||

`p11_kit_module_get_flags` doesn't return an error.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/2014#note_2736098045
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/20250908/ef944e52/attachment-0001.html>


More information about the Gnutls-devel mailing list