fix build error introduced by x25519 decryption support

This commit is contained in:
Dominik Schürmann 2021-03-16 15:25:24 +01:00
parent 3ad4fe85b9
commit 0b49e7f91f
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ public class PsoDecryptTokenOp {
byte[] keyEncryptionKey = response.getData();
int xLen;
boolean isCurve25519 = CryptlibObjectIdentifiers.curvey25519.equals(eckf.getCurveOID());
boolean isCurve25519 = CryptlibObjectIdentifiers.curvey25519.equals(eckf.asn1ParseOid());
if (isCurve25519) {
xLen = keyEncryptionKey.length;
} else {