[gnutls-devel] Problem with double initialization of pkcs11
elevener at mail.ru
Tue Jun 2 10:26:09 CEST 2015
> On Mon, 2015-06-01 at 12:27 +0300, Alex wrote:
>> I believe that string
>> providers_initialized = 1;
>> should be moved from function _gnutls_pkcs11_check_init to function
>> Right now there is a problem (at least on Windows/MinGW) that if you
>> call gnutls_pkcs11_init yourself any pcks11 operation that calls
>> _gnutls_pkcs11_check_init - it calls gnutls_pkcs11_init for the second
> Would that patch address the issue you see?
Yes, at least for my usecases.
More information about the Gnutls-devel