aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl_handshake.erl
diff options
context:
space:
mode:
authorPéter Dimitrov <[email protected]>2019-02-27 16:49:02 +0100
committerPéter Dimitrov <[email protected]>2019-03-04 16:24:53 +0100
commit2daeee7aea9af5b403ac7557b8f20a4f34bc6b61 (patch)
tree7a9f94a8647163d1c0cf220c4658908e4853db01 /lib/ssl/src/ssl_handshake.erl
parent1e06a50821bff93643f342019840e8932e151686 (diff)
downloadotp-2daeee7aea9af5b403ac7557b8f20a4f34bc6b61.tar.gz
otp-2daeee7aea9af5b403ac7557b8f20a4f34bc6b61.tar.bz2
otp-2daeee7aea9af5b403ac7557b8f20a4f34bc6b61.zip
ssl: Validate client certificates (TLS 1.3)
Implement validation of client certificates in state 'wait_cert'. Implement state 'wait_cv'. Clean up handler functions. Change-Id: I5c410bf7afe34632f27fabcd61670764fedb105d
Diffstat (limited to 'lib/ssl/src/ssl_handshake.erl')
-rw-r--r--lib/ssl/src/ssl_handshake.erl5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/ssl/src/ssl_handshake.erl b/lib/ssl/src/ssl_handshake.erl
index 260f603e90..6c95a7edf8 100644
--- a/lib/ssl/src/ssl_handshake.erl
+++ b/lib/ssl/src/ssl_handshake.erl
@@ -79,7 +79,10 @@
select_hashsign_algs/3, empty_extensions/2, add_server_share/3
]).
--export([get_cert_params/1]).
+-export([get_cert_params/1,
+ server_name/3,
+ validation_fun_and_state/9,
+ handle_path_validation_error/7]).
%%====================================================================
%% Create handshake messages