Skip to content

Commit 97c5445

Browse files
author
gefeili
committed
Merge branch 'main' into grain128-aead-update
2 parents b8e6d33 + 292c783 commit 97c5445

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/org/bouncycastle/pqc/crypto/util/PrivateKeyInfoFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ else if (privateKey instanceof SLHDSAPrivateKeyParameters)
152152

153153
AlgorithmIdentifier algorithmIdentifier = new AlgorithmIdentifier(Utils.slhdsaOidLookup(params.getParameters()));
154154

155-
return new PrivateKeyInfo(algorithmIdentifier, params.getEncoded(), attributes, params.getPublicKey());
155+
return new PrivateKeyInfo(algorithmIdentifier, params.getEncoded(), attributes);
156156
}
157157
else if (privateKey instanceof PicnicPrivateKeyParameters)
158158
{

0 commit comments

Comments
 (0)