aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public_key/src
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2013-05-14 19:07:51 +0200
committerIngela Anderton Andin <[email protected]>2013-05-20 08:41:53 +0200
commitf941576f751fbf59049d982ca901cd3eab7dfe1f (patch)
tree52eec4a9a90b214bb09859bbf756edb07e4a4cae /lib/public_key/src
parent36a9e0a0dcb33c0cab6fdfcc6847e04b1b786a73 (diff)
downloadotp-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/public_key/src')
-rw-r--r--lib/public_key/src/public_key.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public_key/src/public_key.erl b/lib/public_key/src/public_key.erl
index 648dba3d5a..56e7844d5d 100644
--- a/lib/public_key/src/public_key.erl
+++ b/lib/public_key/src/public_key.erl
@@ -878,7 +878,7 @@ ec_curve_spec( #'ECParameters'{fieldID = FieldId, curve = PCurve, base = Base, o
ec_curve_spec({namedCurve, OID}) ->
pubkey_cert_records:namedCurves(OID).
-ec_key({PrivateKey, PubKey}, Params) ->
+ec_key({PubKey, PrivateKey}, Params) ->
#'ECPrivateKey'{version = 1,
privateKey = int2list(PrivateKey),
parameters = Params,