Integrated: 8328957: Update PKCS11Test.java to not use hardcoded path
Matthew Donovan
mdonovan at openjdk.org
Wed Apr 3 17:20:13 UTC 2024
On Tue, 26 Mar 2024 14:02:27 GMT, Matthew Donovan <mdonovan at openjdk.org> wrote:
> When resolving the location of the NSS library, the code appended a hard-coded path: `/nss/lib`. This makes it difficult for a person to specify the library when it is installed in a location such as `/usr/lib64`.
>
> In this PR, I removed the hard-coded path and updated the code to search the specified path for the nss library file, softokn3.
This pull request has now been integrated.
Changeset: 16576b87
Author: Matthew Donovan <mdonovan at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/16576b87b7267aaa99c41f77993287e3479577aa
Stats: 37 lines in 1 file changed: 11 ins; 9 del; 17 mod
8328957: Update PKCS11Test.java to not use hardcoded path
Reviewed-by: mbalao, rhalade
-------------
PR: https://git.openjdk.org/jdk/pull/18488
More information about the security-dev
mailing list