mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 10:32:57 +01:00
Fix EVPTest on RHEL/Fedora by removing hard-coded EC curve name (#2002)
This commit is contained in:
parent
4d852b7b8d
commit
860975b372
@ -336,7 +336,7 @@ void EVPTest::testECEVPSaveLoadStream()
|
||||
assert (strPubE.str() == pubKey);
|
||||
assert (key == key2);
|
||||
assert (!(key != key2));
|
||||
ECKey ecKeyNE("secp112r2");
|
||||
ECKey ecKeyNE(curvename);
|
||||
EVPPKey keyNE(&ecKeyNE);
|
||||
assert (key != keyNE);
|
||||
assert (!(key == keyNE));
|
||||
@ -391,7 +391,7 @@ void EVPTest::testECEVPSaveLoadStreamNoPass()
|
||||
assert (strPubE.str() == pubKey);
|
||||
assert (key == key2);
|
||||
assert (!(key != key2));
|
||||
ECKey ecKeyNE("secp112r2");
|
||||
ECKey ecKeyNE(curveName);
|
||||
EVPPKey keyNE(&ecKeyNE);
|
||||
assert (key != keyNE);
|
||||
assert (!(key == keyNE));
|
||||
@ -448,7 +448,7 @@ void EVPTest::testECEVPSaveLoadFile()
|
||||
assert (strPubE.str() == pubKey);
|
||||
assert (key == key2);
|
||||
assert (!(key != key2));
|
||||
ECKey ecKeyNE("secp112r2");
|
||||
ECKey ecKeyNE(curveName);
|
||||
EVPPKey keyNE(&ecKeyNE);
|
||||
assert (key != keyNE);
|
||||
assert (!(key == keyNE));
|
||||
|
Loading…
Reference in New Issue
Block a user