aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl_handshake.hrl
diff options
context:
space:
mode:
authorPéter Dimitrov <[email protected]>2019-03-06 09:34:31 +0100
committerPéter Dimitrov <[email protected]>2019-03-06 09:34:31 +0100
commit839207c411f8cb09347f9497e5db931d7a30d5da (patch)
treeaed37befb8e4de0f09425386728b0787694a27cd /lib/ssl/src/ssl_handshake.hrl
parent372ea8b13a9ccbd9833813838ad3cd1635d3fb5b (diff)
downloadotp-839207c411f8cb09347f9497e5db931d7a30d5da.tar.gz
otp-839207c411f8cb09347f9497e5db931d7a30d5da.tar.bz2
otp-839207c411f8cb09347f9497e5db931d7a30d5da.zip
ssl: Verify CertificateVerify
Verify CertificateVerify message against the handshake context and the public key provided by the Certificate message. Remove 'Context' argument from state handler functions and store data in the state variable. Refactor get_handshake_context/1 to cover all implemented cases. Change-Id: If803e05009331d1ec7e0ba2ea2b81d917a0add6d
Diffstat (limited to 'lib/ssl/src/ssl_handshake.hrl')
-rw-r--r--lib/ssl/src/ssl_handshake.hrl4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/ssl/src/ssl_handshake.hrl b/lib/ssl/src/ssl_handshake.hrl
index d4233bea9b..b248edcaa9 100644
--- a/lib/ssl/src/ssl_handshake.hrl
+++ b/lib/ssl/src/ssl_handshake.hrl
@@ -47,7 +47,9 @@
srp_username,
is_resumable,
time_stamp,
- ecc
+ ecc, %% TLS 1.3 Group
+ sign_alg, %% TLS 1.3 Signature Algorithm
+ dh_public_value %% TLS 1.3 DH Public Value from peer
}).
-define(NUM_OF_SESSION_ID_BYTES, 32). % TSL 1.1 & SSL 3