aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src
diff options
context:
space:
mode:
authorYuki Ito <[email protected]>2015-07-29 20:03:26 +0900
committerIngela Anderton Andin <[email protected]>2015-09-08 18:17:54 +0200
commite68782849000e4f7b53e94d279c1f096970640d6 (patch)
tree1556bf8a1fe16d58c1de1b412edf8cb8bed54b52 /lib/ssl/src
parentee5587d585052fe7b64c972029a6c68c403b71dc (diff)
downloadotp-e68782849000e4f7b53e94d279c1f096970640d6.tar.gz
otp-e68782849000e4f7b53e94d279c1f096970640d6.tar.bz2
otp-e68782849000e4f7b53e94d279c1f096970640d6.zip
Accept 'ECPrivateKey' as a ssl key option
Diffstat (limited to 'lib/ssl/src')
-rw-r--r--lib/ssl/src/ssl.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ssl/src/ssl.erl b/lib/ssl/src/ssl.erl
index 9f2af73204..120e8b59ed 100644
--- a/lib/ssl/src/ssl.erl
+++ b/lib/ssl/src/ssl.erl
@@ -804,6 +804,7 @@ validate_option(key, {KeyType, Value}) when is_binary(Value),
KeyType == dsa; %% Backwards compatibility
KeyType == 'RSAPrivateKey';
KeyType == 'DSAPrivateKey';
+ KeyType == 'ECPrivateKey';
KeyType == 'PrivateKeyInfo' ->
{KeyType, Value};