aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl_handshake.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2019-02-20 15:51:21 +0100
committerIngela Anderton Andin <[email protected]>2019-02-22 10:14:52 +0100
commit3058ef6bb7a2a3f96cfde819976ee7a52be65364 (patch)
treefa8004cde069e3c6e84ada2e428c7ae50a426685 /lib/ssl/src/ssl_handshake.erl
parentf06f5bf23a3cd1f040c8ab6f059097d22161abc7 (diff)
downloadotp-3058ef6bb7a2a3f96cfde819976ee7a52be65364.tar.gz
otp-3058ef6bb7a2a3f96cfde819976ee7a52be65364.tar.bz2
otp-3058ef6bb7a2a3f96cfde819976ee7a52be65364.zip
ssl: Enhance documentation after "use-spec-rewrite"
Diffstat (limited to 'lib/ssl/src/ssl_handshake.erl')
-rw-r--r--lib/ssl/src/ssl_handshake.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssl/src/ssl_handshake.erl b/lib/ssl/src/ssl_handshake.erl
index 27c071d6dd..9ba62b3a12 100644
--- a/lib/ssl/src/ssl_handshake.erl
+++ b/lib/ssl/src/ssl_handshake.erl
@@ -729,7 +729,7 @@ decode_hello_extensions(Extensions) ->
dec_hello_extensions(Extensions, #hello_extensions{}).
%%--------------------------------------------------------------------
--spec decode_server_key(binary(), ssl:key_algo(), ssl_record:ssl_version()) ->
+-spec decode_server_key(binary(), ssl:kex_algo(), ssl_record:ssl_version()) ->
#server_key_params{}.
%%
%% Description: Decode server_key data and return appropriate type
@@ -738,7 +738,7 @@ decode_server_key(ServerKey, Type, Version) ->
dec_server_key(ServerKey, key_exchange_alg(Type), Version).
%%--------------------------------------------------------------------
--spec decode_client_key(binary(), ssl:key_algo(), ssl_record:ssl_version()) ->
+-spec decode_client_key(binary(), ssl:kex_algo(), ssl_record:ssl_version()) ->
#encrypted_premaster_secret{}
| #client_diffie_hellman_public{}
| #client_ec_diffie_hellman_public{}