aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/test/crypto_SUITE.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/crypto/test/crypto_SUITE.erl')
-rw-r--r--lib/crypto/test/crypto_SUITE.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/crypto/test/crypto_SUITE.erl b/lib/crypto/test/crypto_SUITE.erl
index 55db09d9dd..384d15c68c 100644
--- a/lib/crypto/test/crypto_SUITE.erl
+++ b/lib/crypto/test/crypto_SUITE.erl
@@ -1887,7 +1887,8 @@ ec(Config) when is_list(Config) ->
ec_do() ->
%% test for a name curve
- D2 = crypto:ecdh_generate_key(sect113r2),
+ {D2_priv, D2_pub} = crypto:ecdh_generate_key(sect113r2),
+ D2 = {sect113r2, D2_priv, D2_pub},
%%TODO: find a published test case for a EC key