fix build error introduced by x25519 decryption support
This commit is contained in:
parent
3ad4fe85b9
commit
0b49e7f91f
|
@ -165,7 +165,7 @@ public class PsoDecryptTokenOp {
|
||||||
byte[] keyEncryptionKey = response.getData();
|
byte[] keyEncryptionKey = response.getData();
|
||||||
|
|
||||||
int xLen;
|
int xLen;
|
||||||
boolean isCurve25519 = CryptlibObjectIdentifiers.curvey25519.equals(eckf.getCurveOID());
|
boolean isCurve25519 = CryptlibObjectIdentifiers.curvey25519.equals(eckf.asn1ParseOid());
|
||||||
if (isCurve25519) {
|
if (isCurve25519) {
|
||||||
xLen = keyEncryptionKey.length;
|
xLen = keyEncryptionKey.length;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue