aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl_connection.hrl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2019-01-29 13:21:41 +0100
committerIngela Anderton Andin <[email protected]>2019-02-08 09:22:26 +0100
commit2b9412e026ab58bac5b61f239d607db6482974ef (patch)
treec5db354f3d5a0a8f9e5f29783c478b2f9045dddb /lib/ssl/src/ssl_connection.hrl
parent94e43acfeb4d5d5e2f1944ef55ffa302cc901e1f (diff)
downloadotp-2b9412e026ab58bac5b61f239d607db6482974ef.tar.gz
otp-2b9412e026ab58bac5b61f239d607db6482974ef.tar.bz2
otp-2b9412e026ab58bac5b61f239d607db6482974ef.zip
ssl: Add hashsign_algorithm and cert_hashsign_algorithm to handshake_env
Diffstat (limited to 'lib/ssl/src/ssl_connection.hrl')
-rw-r--r--lib/ssl/src/ssl_connection.hrl9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/ssl/src/ssl_connection.hrl b/lib/ssl/src/ssl_connection.hrl
index 9d535cb1f2..e1a53c9982 100644
--- a/lib/ssl/src/ssl_connection.hrl
+++ b/lib/ssl/src/ssl_connection.hrl
@@ -65,7 +65,9 @@
sni_hostname = undefined,
expecting_next_protocol_negotiation = false ::boolean(),
next_protocol = undefined :: undefined | binary(),
- negotiated_protocol
+ negotiated_protocol,
+ hashsign_algorithm = {undefined, undefined},
+ cert_hashsign_algorithm = {undefined, undefined}
}).
-record(connection_env, {
@@ -96,8 +98,6 @@
%% Used only in HS
client_certificate_requested = false :: boolean(),
key_algorithm :: ssl:key_algo(),
- hashsign_algorithm = {undefined, undefined},
- cert_hashsign_algorithm = {undefined, undefined},
public_key_info :: ssl_handshake:public_key_info() | 'undefined',
private_key :: public_key:private_key() | secret_printout() | 'undefined',
diffie_hellman_params:: #'DHParameter'{} | undefined | secret_printout(),
@@ -105,8 +105,7 @@
psk_identity :: binary() | 'undefined', % server psk identity hint
srp_params :: #srp_user{} | secret_printout() | 'undefined',
srp_keys ::{PublicKey :: binary(), PrivateKey :: binary()} | secret_printout() | 'undefined',
- premaster_secret :: binary() | secret_printout() | 'undefined',
-
+ premaster_secret :: binary() | secret_printout() | 'undefined',
flight_buffer = [] :: list() | map(), %% Buffer of TLS/DTLS records, used during the TLS handshake
%% to when possible pack more than one TLS record into the
%% underlaying packet format. Introduced by DTLS - RFC 4347.