aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/src/crypto.erl
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2018-08-15 14:19:39 +0200
committerHans Nilsson <[email protected]>2018-08-16 16:37:03 +0200
commit31d03ad85a194ea332a1525dbe669135982855e1 (patch)
treeb6f17987db8ba7be3401ed7be48b27c920e1a19f /lib/crypto/src/crypto.erl
parent0fac9bf23a138a41d29535ff027bd258b9575d27 (diff)
downloadotp-31d03ad85a194ea332a1525dbe669135982855e1.tar.gz
otp-31d03ad85a194ea332a1525dbe669135982855e1.tar.bz2
otp-31d03ad85a194ea332a1525dbe669135982855e1.zip
crypto: Put curve list in C
Diffstat (limited to 'lib/crypto/src/crypto.erl')
-rw-r--r--lib/crypto/src/crypto.erl10
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/crypto/src/crypto.erl b/lib/crypto/src/crypto.erl
index 714cba58b9..835cadce47 100644
--- a/lib/crypto/src/crypto.erl
+++ b/lib/crypto/src/crypto.erl
@@ -108,17 +108,11 @@ stop() ->
supports()->
{Hashs, PubKeys, Ciphers, Macs, Curves} = algorithms(),
-
[{hashs, Hashs},
{ciphers, Ciphers},
{public_keys, PubKeys},
- {macs, Macs}
- | case Curves of
- [] -> [];
- _ -> [{curves, Curves}] % Only show this experimental feature
- % if OpenSSL 1.1.1 beta4 or higher (where
- % eddsa and eddh is enabled)
- end
+ {macs, Macs},
+ {curves, Curves}
].
info_lib() -> ?nif_stub.