Skip to content

Commit

Permalink
Fix: fix the bug of keyPairFactory not use config. (#497)
Browse files Browse the repository at this point in the history
Co-authored-by: 邱鹏程 <[email protected]>
Co-authored-by: cyjseagull <[email protected]>
  • Loading branch information
3 people authored Mar 13, 2022
1 parent f19735f commit 86fa4b0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ protected void initCryptoSuite(int cryptoTypeConfig) {
+ CryptoType.SM_HSM_TYPE
+ " crypto type");
}
// Set config for 'keyPairFactory'
this.keyPairFactory.setConfig(config);
// create keyPair randomly
if (cryptoTypeConfig != CryptoType.SM_HSM_TYPE) {
createKeyPair();
Expand Down

0 comments on commit 86fa4b0

Please sign in to comment.