RFR: 8305336: java.security.debug=sunpkcs11 breaks PKCS#11 configuration with slotListIndex

Mark Powers mpowers at openjdk.org
Fri Apr 14 23:13:32 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

LGTM

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

Marked as reviewed by mpowers (Author).

PR Review: https://git.openjdk.org/jdk/pull/13483#pullrequestreview-1386253261



More information about the security-dev mailing list