aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl_cipher_format.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2019-02-22 10:29:37 +0100
committerIngela Anderton Andin <[email protected]>2019-02-22 10:29:37 +0100
commitc3c20d78c2b47d0dd117f7a90b817ed13a609e64 (patch)
treed1e86dd4499cee4dc4fa4cd4df533f358aabf652 /lib/ssl/src/ssl_cipher_format.erl
parent4327304462128ce983de8e962f683e702a80f64e (diff)
parent53dea65ae6665d5d14c0d313c1f639637a3f0405 (diff)
downloadotp-c3c20d78c2b47d0dd117f7a90b817ed13a609e64.tar.gz
otp-c3c20d78c2b47d0dd117f7a90b817ed13a609e64.tar.bz2
otp-c3c20d78c2b47d0dd117f7a90b817ed13a609e64.zip
Merge branch 'maint'
Conflicts: lib/ssl/doc/src/ssl.xml lib/ssl/src/ssl.erl
Diffstat (limited to 'lib/ssl/src/ssl_cipher_format.erl')
-rw-r--r--lib/ssl/src/ssl_cipher_format.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/ssl/src/ssl_cipher_format.erl b/lib/ssl/src/ssl_cipher_format.erl
index f75daaad22..b592295d56 100644
--- a/lib/ssl/src/ssl_cipher_format.erl
+++ b/lib/ssl/src/ssl_cipher_format.erl
@@ -34,15 +34,15 @@
-type internal_cipher() :: null | ssl:cipher().
-type internal_hash() :: null | ssl:hash().
--type internal_key_algo() :: null | ssl:key_algo().
--type internal_erl_cipher_suite() :: #{key_exchange := internal_key_algo(),
+-type internal_kex_algo() :: null | ssl:kex_algo().
+-type internal_erl_cipher_suite() :: #{key_exchange := internal_kex_algo(),
cipher := internal_cipher(),
mac := internal_hash() | aead,
prf := internal_hash() | default_prf %% Old cipher suites, version dependent
}.
--type old_erl_cipher_suite() :: {ssl:key_algo(), internal_cipher(), internal_hash()} % Pre TLS 1.2
+-type old_erl_cipher_suite() :: {ssl:kex_algo(), internal_cipher(), internal_hash()} % Pre TLS 1.2
%% TLS 1.2, internally PRE TLS 1.2 will use default_prf
- | {ssl:key_algo(), internal_cipher(), internal_hash(),
+ | {ssl:kex_algo(), internal_cipher(), internal_hash(),
internal_hash() | default_prf}.
-type cipher_suite() :: binary().
-type openssl_cipher_suite() :: string().