feat: update pkcs11 piv

This commit is contained in:
2024-07-06 21:56:17 +08:00
parent baf80d52d1
commit 781d173b86
2 changed files with 8 additions and 3 deletions

View File

@@ -284,7 +284,7 @@ cryptoki_fn!(
unsafe { *ppFunctionList = std::ptr::addr_of_mut!(FUNC_LIST) };
native_pkcs11_traits::register_backend(Box::new(
native_pkcs11_piv::YubikeyPivBackend {},
native_pkcs11_piv::YubikeyPivBackend::new(),
));
Ok(())