aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/test/crypto_SUITE.erl
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2015-05-22 16:09:05 +0200
committerSverker Eriksson <[email protected]>2015-05-22 16:09:05 +0200
commit03f771ed570840a25eddc5e93b511e9cfdfe311e (patch)
tree46a32db46297f4368585102d1bdb29c687b9ee59 /lib/crypto/test/crypto_SUITE.erl
parent452d6a4b3107e2c1616fe5ced9e4a9709cc6eb89 (diff)
downloadotp-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/crypto_SUITE.erl')
-rw-r--r--lib/crypto/test/crypto_SUITE.erl5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/crypto/test/crypto_SUITE.erl b/lib/crypto/test/crypto_SUITE.erl
index 72944eea8e..ff7af1f2c1 100644
--- a/lib/crypto/test/crypto_SUITE.erl
+++ b/lib/crypto/test/crypto_SUITE.erl
@@ -1884,8 +1884,9 @@ dss_params() ->
18320614775012672475365915366944922415598782131828709277168615511695849821411624805195787607930033958243224786899641459701930253094446221381818858674389863050420226114787005820357372837321561754462061849169568607689530279303056075793886577588606958623645901271866346406773590024901668622321064384483571751669].
ec_key_named() ->
- {D2_pub, D2_priv} = crypto:generate_key(ecdh, sect113r2),
- {[D2_priv, sect113r2], [D2_pub, sect113r2]}.
+ Curve = secp112r2,
+ {D2_pub, D2_priv} = crypto:generate_key(ecdh, Curve),
+ {[D2_priv, Curve], [D2_pub, Curve]}.
ec_msg() ->
<<99,234,6,64,190,237,201,99,80,248,58,40,70,45,149,218,5,246,242,63>>.