aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2013-04-24 09:24:02 +0200
committerIngela Anderton Andin <[email protected]>2013-05-08 10:39:20 +0200
commit8537e256d5bb250f6e798d521deef16907a4e526 (patch)
treeabe3c8eb549152a8c6d3a3251f31151e45bd3135 /lib/ssl
parente05c31eaa6b4f09ac220bf88d78376d7ef8722d7 (diff)
downloadotp-8537e256d5bb250f6e798d521deef16907a4e526.tar.gz
otp-8537e256d5bb250f6e798d521deef16907a4e526.tar.bz2
otp-8537e256d5bb250f6e798d521deef16907a4e526.zip
public_key: use new crypto
Diffstat (limited to 'lib/ssl')
-rw-r--r--lib/ssl/test/erl_make_certs.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/test/erl_make_certs.erl b/lib/ssl/test/erl_make_certs.erl
index c0cf5005ed..8743cb13fa 100644
--- a/lib/ssl/test/erl_make_certs.erl
+++ b/lib/ssl/test/erl_make_certs.erl
@@ -409,7 +409,7 @@ int2list(I) ->
binary_to_list(<<I:(L*8)>>).
gen_ec2(CurveId) ->
- {_Curve, PrivKey, PubKey} = crypto:ecdh_generate_key(CurveId),
+ {PrivKey, PubKey} = crypto:ecdh_generate_key(CurveId),
#'ECPrivateKey'{version = 1,
privateKey = int2list(PrivKey),