Skip to content

Commit

Permalink
Fix NPE in assertion.
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Balao Alonso <[email protected]>
Co-authored-by: Francisco Ferrari Bihurriet <[email protected]>
  • Loading branch information
martinuy and franferrax committed Dec 12, 2024
1 parent aab90aa commit bfe052f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ protected byte[] engineDeriveData(AlgorithmParameterSpec derivationSpec)
private <T> T derive(String alg, AlgorithmParameterSpec derivationSpec,
Class<T> retType) throws InvalidAlgorithmParameterException {
SecretKey baseKey;
SecretKey salt = null;
SecretKey salt = EMPTY_KEY;
byte[] info = null;
int outLen;
boolean isExtract = false, isExpand = false;
Expand Down

0 comments on commit bfe052f

Please sign in to comment.