Skip to content

Commit 6efd365

Browse files
authored
Update utils.rs
1 parent c074e3c commit 6efd365

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ pub(crate) fn open_card(name: String) -> Result<Card, PcscError> {
66
vname.push(0u8);
77
context.connect(
88
unsafe { CStr::from_bytes_with_nul_unchecked(&vname[..]) },
9-
pcsc::ShareMode::Exclusive,
9+
pcsc::ShareMode::Shared,
1010
pcsc::Protocols::ANY,
1111
)
1212
}

0 commit comments

Comments
 (0)