Skip to content

Commit a8e8498

Browse files
committed
forgot windows returns
Signed-off-by: Elise Chouleur <[email protected]>
1 parent 1e65dd3 commit a8e8498

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cryptoki/src/context/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ impl Pkcs11 {
104104
#[cfg(not(windows))]
105105
let this_lib = libloading::os::unix::Library::this();
106106
#[cfg(windows)]
107-
let this_lib = libloading::os::windows::Library::this();
107+
let this_lib = libloading::os::windows::Library::this()?;
108108
let pkcs11_lib = cryptoki_sys::Pkcs11::from_library(this_lib)?;
109109
Self::_new(pkcs11_lib)
110110
}

0 commit comments

Comments
 (0)