We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e65dd3 commit a8e8498Copy full SHA for a8e8498
cryptoki/src/context/mod.rs
@@ -104,7 +104,7 @@ impl Pkcs11 {
104
#[cfg(not(windows))]
105
let this_lib = libloading::os::unix::Library::this();
106
#[cfg(windows)]
107
- let this_lib = libloading::os::windows::Library::this();
+ let this_lib = libloading::os::windows::Library::this()?;
108
let pkcs11_lib = cryptoki_sys::Pkcs11::from_library(this_lib)?;
109
Self::_new(pkcs11_lib)
110
}
0 commit comments