diff options
author | Sverker Eriksson <[email protected]> | 2013-05-14 19:07:51 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2013-05-20 08:41:53 +0200 |
commit | f941576f751fbf59049d982ca901cd3eab7dfe1f (patch) | |
tree | 52eec4a9a90b214bb09859bbf756edb07e4a4cae /lib/crypto/test/crypto_SUITE.erl | |
parent | 36a9e0a0dcb33c0cab6fdfcc6847e04b1b786a73 (diff) | |
download | otp-f941576f751fbf59049d982ca901cd3eab7dfe1f.tar.gz otp-f941576f751fbf59049d982ca901cd3eab7dfe1f.tar.bz2 otp-f941576f751fbf59049d982ca901cd3eab7dfe1f.zip |
crypto,public_key,ssl: Change return value of crypto:generate_key(ecdh,..)
to conform with the return value of the other types.
Diffstat (limited to 'lib/crypto/test/crypto_SUITE.erl')
-rw-r--r-- | lib/crypto/test/crypto_SUITE.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crypto/test/crypto_SUITE.erl b/lib/crypto/test/crypto_SUITE.erl index 57f5696d3c..1812c98dff 100644 --- a/lib/crypto/test/crypto_SUITE.erl +++ b/lib/crypto/test/crypto_SUITE.erl @@ -1887,7 +1887,7 @@ ec(Config) when is_list(Config) -> ec_do() -> %% test for a name curve - {D2_priv, D2_pub} = crypto:generate_key(ecdh, sect113r2), + {D2_pub, D2_priv} = crypto:generate_key(ecdh, sect113r2), PrivECDH = [D2_priv, sect113r2], PubECDH = [D2_pub, sect113r2], %%TODO: find a published test case for a EC key |