mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
remove irrelevant test code
This commit is contained in:
parent
2b66efb72d
commit
f02987e219
@ -144,7 +144,6 @@ BOOST_AUTO_TEST_CASE(cryptopp_public_export_import)
|
|||||||
pp::PublicFromExponent(pp::ExponentFromSecret(k.sec()), p2);
|
pp::PublicFromExponent(pp::ExponentFromSecret(k.sec()), p2);
|
||||||
assert(k.pub() == p2);
|
assert(k.pub() == p2);
|
||||||
|
|
||||||
// Fix me:
|
|
||||||
Address a = k.address();
|
Address a = k.address();
|
||||||
Address a2 = toAddress(k.sec());
|
Address a2 = toAddress(k.sec());
|
||||||
assert(a2 == a);
|
assert(a2 == a);
|
||||||
@ -164,13 +163,6 @@ BOOST_AUTO_TEST_CASE(ecies_eckeypair)
|
|||||||
|
|
||||||
decrypt(k.sec(), b);
|
decrypt(k.sec(), b);
|
||||||
assert(b == asBytes(original));
|
assert(b == asBytes(original));
|
||||||
|
|
||||||
// // Fix Me!
|
|
||||||
//// encrypt(k.publicKey(), b);
|
|
||||||
// k.encrypt(b);
|
|
||||||
// assert(b != asBytes(original));
|
|
||||||
// k.decrypt(b);
|
|
||||||
// assert(b == asBytes(original));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOST_AUTO_TEST_CASE(ecdhe_aes128_ctr_sha3mac)
|
BOOST_AUTO_TEST_CASE(ecdhe_aes128_ctr_sha3mac)
|
||||||
|
Loading…
Reference in New Issue
Block a user