diff options
author | juhlig <[email protected]> | 2019-05-27 14:44:43 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2019-05-28 16:51:48 +0200 |
commit | 4c30f4db06280688bcf9e68aa9003e1042805be0 (patch) | |
tree | 34582a53aca6fea5163927d4ef061e557773584a /lib/ssl/src | |
parent | 6310fbd9871f521826d4672395e48e2ef94d59a9 (diff) | |
download | otp-4c30f4db06280688bcf9e68aa9003e1042805be0.tar.gz otp-4c30f4db06280688bcf9e68aa9003e1042805be0.tar.bz2 otp-4c30f4db06280688bcf9e68aa9003e1042805be0.zip |
Export sign_scheme/0 types
The types named_curve/0 and sign_scheme/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/ssl/src')
-rw-r--r-- | lib/ssl/src/ssl.erl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/ssl/src/ssl.erl b/lib/ssl/src/ssl.erl index f99c0e2b7a..1e36a0591b 100644 --- a/lib/ssl/src/ssl.erl +++ b/lib/ssl/src/ssl.erl @@ -127,7 +127,8 @@ error_alert/0, tls_alert/0, srp_param_type/0, - named_curve/0]). + named_curve/0, + sign_scheme/0]). %% ------------------------------------------------------------------------------------------------------- @@ -193,7 +194,7 @@ | rsa_pss_pss_sha384 | rsa_pss_pss_sha512 | rsa_pkcs1_sha1 - | ecdsa_sha1. + | ecdsa_sha1. % exported -type kex_algo() :: rsa | dhe_rsa | dhe_dss | |