diff options
author | Sverker Eriksson <[email protected]> | 2015-05-22 16:09:05 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2015-05-22 16:09:05 +0200 |
commit | 03f771ed570840a25eddc5e93b511e9cfdfe311e (patch) | |
tree | 46a32db46297f4368585102d1bdb29c687b9ee59 /lib/crypto/test/old_crypto_SUITE.erl | |
parent | 452d6a4b3107e2c1616fe5ced9e4a9709cc6eb89 (diff) | |
download | otp-03f771ed570840a25eddc5e93b511e9cfdfe311e.tar.gz otp-03f771ed570840a25eddc5e93b511e9cfdfe311e.tar.bz2 otp-03f771ed570840a25eddc5e93b511e9cfdfe311e.zip |
crypto: Change eliptic curve test from 'sect113r2' to 'secp112r2'
To not fail on openssl built with #define OPENSSL_NO_EC2M
(Why does the test not verify all supported curve types?)
Diffstat (limited to 'lib/crypto/test/old_crypto_SUITE.erl')
-rw-r--r-- | lib/crypto/test/old_crypto_SUITE.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/crypto/test/old_crypto_SUITE.erl b/lib/crypto/test/old_crypto_SUITE.erl index 040edbf092..80306927c5 100644 --- a/lib/crypto/test/old_crypto_SUITE.erl +++ b/lib/crypto/test/old_crypto_SUITE.erl @@ -1887,9 +1887,9 @@ ec(Config) when is_list(Config) -> ec_do() -> %% test for a name curve - {D2_pub, D2_priv} = crypto:generate_key(ecdh, sect113r2), - PrivECDH = [D2_priv, sect113r2], - PubECDH = [D2_pub, sect113r2], + {D2_pub, D2_priv} = crypto:generate_key(ecdh, secp112r2), + PrivECDH = [D2_priv, secp112r2], + PubECDH = [D2_pub, secp112r2], %%TODO: find a published test case for a EC key %% test for a full specified curve and public key, |