Skip to content

Commit

Permalink
Update default Windows path to find the OpenSC binary
Browse files Browse the repository at this point in the history
  • Loading branch information
jwiegley committed Oct 4, 2021
1 parent e1d2476 commit 469e7a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const PKCS11_LIBPATH: &str = "/Library/OpenSC/lib/pkcs11/opensc-pkcs11.so";
#[cfg(target_os = "linux")]
const PKCS11_LIBPATH: &str = "/usr/lib/x86_64-linux-gnu/opensc-pkcs11.so";
#[cfg(target_os = "windows")]
const PKCS11_LIBPATH: &str = "C:/Program Files/OpenSC Project/OpenSC/opensc-pkcs11.dll";
const PKCS11_LIBPATH: &str = "C:/Program Files/OpenSC Project/OpenSC/pkcs11/opensc-pkcs11.dll";

impl HSMInfo {
pub fn new() -> Self {
Expand Down

0 comments on commit 469e7a1

Please sign in to comment.