RFR JDK-8164639: Configure PKCS11 tests to use user-supplied NSS libraries

2018-08-12 Thread sha . jiang
Hi, This patch provides a system property, exactly test.nss.lib.path, for specifying the absolute path to the custom NSS lib. And it also removes the NSS 3.16 binary libs on windows and macosx from repo. On these two platforms, PKCS11 tests will download new built NSS 3.35 libs from Artifactory

Re: RFR JDK-8164639: Configure PKCS11 tests to use user-supplied NSS libraries

2018-08-12 Thread Weijun Wang
Can test.nss.lib.path contain multiple paths? For example, some systems might have libsoftkn3.so and libnss3.so in different directories [1] and depending on whether secmod is used the test might load one or the other. I have the same question on the downloaded file from the artifact server. It

Re: RFR JDK-8164639: Configure PKCS11 tests to use user-supplied NSS libraries

2018-08-12 Thread Rajan Halade
Thanks John for this fix. May be it will help if you can include README file under pkcs11 detailing how the artifacts are to be build and bundled. See inline for my attempt to answer some of Max's queries - On 8/12/18 8:25 PM, Weijun Wang wrote: Can test.nss.lib.path contain multiple paths? Fo

Re: RFR JDK-8164639: Configure PKCS11 tests to use user-supplied NSS libraries

2018-08-12 Thread sha . jiang
On 2018/8/13 11:25, Weijun Wang wrote: Can test.nss.lib.path contain multiple paths? For example, some systems might have libsoftkn3.so and libnss3.so in different directories [1] and depending on whether secmod is used the test might load one or the other. I assume the custom libs are in a si

Re: RFR JDK-8164639: Configure PKCS11 tests to use user-supplied NSS libraries

2018-08-12 Thread Weijun Wang
> On Aug 13, 2018, at 1:46 PM, sha.ji...@oracle.com wrote: > > On 2018/8/13 11:25, Weijun Wang wrote: >> Can test.nss.lib.path contain multiple paths? For example, some systems >> might have libsoftkn3.so and libnss3.so in different directories [1] and >> depending on whether secmod is used t