aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorjuhlig <[email protected]>2019-05-27 14:44:43 +0200
committerIngela Anderton Andin <[email protected]>2019-05-28 15:47:42 +0200
commita04228cc4ebe53af4e676cc6a7642e3a1025cc3f (patch)
tree3f6f0e5fb5b93704a907bd36b35c2b00f336c634 /lib
parent03242e5c72e0a53be079daad8b8905fd3d51b227 (diff)
downloadotp-a04228cc4ebe53af4e676cc6a7642e3a1025cc3f.tar.gz
otp-a04228cc4ebe53af4e676cc6a7642e3a1025cc3f.tar.bz2
otp-a04228cc4ebe53af4e676cc6a7642e3a1025cc3f.zip
Export named_curve/0
The types named_curve/0 consist of many options and may also change with time. Since they are not exported, users must either repeat and maintain their specs, or use a general type like any() if they want to refer to them.
Diffstat (limited to 'lib')
-rw-r--r--lib/ssl/src/ssl.erl8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/ssl/src/ssl.erl b/lib/ssl/src/ssl.erl
index c5991f6032..00a7f0a53a 100644
--- a/lib/ssl/src/ssl.erl
+++ b/lib/ssl/src/ssl.erl
@@ -83,7 +83,8 @@
session_id/0,
error_alert/0,
tls_alert/0,
- srp_param_type/0]).
+ srp_param_type/0,
+ named_curve/0]).
%% -------------------------------------------------------------------------------------------------------
@@ -129,7 +130,8 @@
-type legacy_hash() :: md5.
--type sign_algo() :: rsa | dsa | ecdsa.
+-type sign_algo() :: rsa | dsa | ecdsa. % exported
+
-type kex_algo() :: rsa |
dhe_rsa | dhe_dss |
ecdhe_ecdsa | ecdh_ecdsa | ecdh_rsa |
@@ -174,7 +176,7 @@
sect163r2 |
secp160k1 |
secp160r1 |
- secp160r2.
+ secp160r2. % exported
-type srp_param_type() :: srp_1024 |
srp_1536 |