test/jdk/sun/security/tools/keytool/NssTest.java
changeset 54697 251090f84412
parent 51944 28085dba5d9a
--- a/test/jdk/sun/security/tools/keytool/NssTest.java	Thu May 02 22:52:51 2019 +0100
+++ b/test/jdk/sun/security/tools/keytool/NssTest.java	Fri May 03 15:57:41 2019 +0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -47,6 +47,8 @@
         copyFiles();
         System.setProperty("nss", "");
         System.setProperty("nss.lib", String.valueOf(libPath));
+
+        PKCS11Test.loadNSPR(libPath.getParent().toString());
         KeyToolTest.main(args);
     }