Closed
Description
When I updated from version 0.7.0 to 0.8.0 I ran into this error: (exit code: 0xc0000005, STATUS_ACCESS_VIOLATION)
fn main() {
let pkcs11client = Pkcs11::new("C:/Windows/System32/eTPKCS11.dll").unwrap();
pkcs11client.initialize(CInitializeArgs::OsThreads).unwrap();
let slot = pkcs11client.get_slots_with_token().unwrap().remove(0);
let session = pkcs11client.open_ro_session(slot).unwrap();
session.login(UserType::User, None).unwrap();
println!("{:?}", session);
}
Platform: Windows 11
The code above runs perfectly on version 0.7.0, but it doesn't on version 0.8.0.
Metadata
Metadata
Assignees
Labels
No labels