From e8ccff6724b8bd82f4eddb6255a059b10a787722 Mon Sep 17 00:00:00 2001 From: Ingela Anderton Andin Date: Tue, 29 Jan 2019 15:12:41 +0100 Subject: ssl: Add key exchange items to handshake_env --- lib/ssl/src/ssl_connection.hrl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/ssl/src/ssl_connection.hrl') diff --git a/lib/ssl/src/ssl_connection.hrl b/lib/ssl/src/ssl_connection.hrl index e1a53c9982..6610d79c60 100644 --- a/lib/ssl/src/ssl_connection.hrl +++ b/lib/ssl/src/ssl_connection.hrl @@ -67,7 +67,9 @@ next_protocol = undefined :: undefined | binary(), negotiated_protocol, hashsign_algorithm = {undefined, undefined}, - cert_hashsign_algorithm = {undefined, undefined} + cert_hashsign_algorithm = {undefined, undefined}, + %% key exchange + public_key_info :: ssl_handshake:public_key_info() | 'undefined' }). -record(connection_env, { @@ -98,7 +100,6 @@ %% Used only in HS client_certificate_requested = false :: boolean(), key_algorithm :: ssl:key_algo(), - 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(), diffie_hellman_keys :: {PublicKey :: binary(), PrivateKey :: binary()} | #'ECPrivateKey'{} | undefined | secret_printout(), -- cgit v1.2.3