From a04228cc4ebe53af4e676cc6a7642e3a1025cc3f Mon Sep 17 00:00:00 2001 From: juhlig Date: Mon, 27 May 2019 14:44:43 +0200 Subject: 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. --- lib/ssl/src/ssl.erl | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'lib') 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 | -- cgit v1.2.3