Skip to content

Commit

Permalink
Fixed the detection of the SafeNet eToken in the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ebourg committed Mar 27, 2024
1 parent 44d3f00 commit 12c386a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jsign-core/src/test/java/net/jsign/SafeNetETokenTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ public class SafeNetETokenTest {

private void assumeSafeNetEToken() {
Assume.assumeTrue("SafeNet Authentication Client isn't installed",
new File(System.getenv("ProgramFiles") + "/OpenSC Project/OpenSC/pkcs11/opensc-pkcs11.dll").exists()
|| new File("/usr/lib/x86_64-linux-gnu/opensc-pkcs11.so").exists());
new File(System.getenv("windir") + "/system32/eTPKCS11.dll").exists()
|| new File("/usr/lib/pkcs11/libeToken.so").exists());
}

@Test
Expand Down

0 comments on commit 12c386a

Please sign in to comment.