RFR: 8305336: java.security.debug=sunpkcs11 breaks PKCS#11 configuration with slotListIndex
Weijun Wang
weijun at openjdk.org
Sat Apr 15 01:40:33 UTC 2023
On Fri, 14 Apr 2023 21:53:33 GMT, Valerie Peng <valeriep at openjdk.org> wrote:
> Could someone help review this trivial fix?
>
> Inside the debugging block, the slot list variable "slots" is overridden with slots with tokens, this causes problem when trying to access the slot list with slotListIndex configuration option. Fix is to print out the slot with tokens info w/o storing it into the slot list variable.
>
> Thanks,
> Valerie
Marked as reviewed by weijun (Reviewer).
I suggest using `noreg-trivial`.
-------------
PR Review: https://git.openjdk.org/jdk/pull/13483#pullrequestreview-1386287620
PR Comment: https://git.openjdk.org/jdk/pull/13483#issuecomment-1509451674
More information about the security-dev
mailing list