RFR: 8328785: IOException: Symbol not found: C_GetInterface for PKCS11 interface prior to V3.0

Valerie Peng valeriep at openjdk.org
Wed Apr 3 01:16:19 UTC 2024


This PR fixes a problem regarding the usage of dlerror() where an earlier error message causes a premature error out. Added extra code to clear out earlier error message and made minor code refactoring.

No regression test as this can't be reproduced using the NSS library from artifactory and thus the noreg-hard label.

Thanks!

-------------

Commit messages:
 - 8328785: IOException: Symbol not found: C_GetInterface for PKCS11 interface prior to V3.0

Changes: https://git.openjdk.org/jdk/pull/18588/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18588&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8328785
  Stats: 51 lines in 1 file changed: 14 ins; 28 del; 9 mod
  Patch: https://git.openjdk.org/jdk/pull/18588.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18588/head:pull/18588

PR: https://git.openjdk.org/jdk/pull/18588



More information about the security-dev mailing list