Closed arjennienhuis closed 1 year ago
This PR fixes the problem with clone and initialize.
It adds more locking while PKCS11 is supposed to be thread safe. For me that doesn't feel right. I would deprecate or remove is_initialized():
is_initialized()
#[deprecated] pub fn is_initialized(&self) -> bool { get_library_info(self).is_ok() }
This PR fixes the problem with clone and initialize.
It adds more locking while PKCS11 is supposed to be thread safe. For me that doesn't feel right. I would deprecate or remove
is_initialized()
: