diff options
author | Ingela Anderton Andin <[email protected]> | 2019-02-06 10:44:13 +0100 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2019-02-08 09:22:26 +0100 |
commit | 4b68540ba24e5606e3a04e4dc4d5f4b07ba153f1 (patch) | |
tree | bd53aeb5440bc6e003ea2bf89a8eca671c406e06 /lib/ssl/src/ssl_connection.hrl | |
parent | 588987a33e5ba1cb89b4f06a68d0abfcaa9acc99 (diff) | |
download | otp-4b68540ba24e5606e3a04e4dc4d5f4b07ba153f1.tar.gz otp-4b68540ba24e5606e3a04e4dc4d5f4b07ba153f1.tar.bz2 otp-4b68540ba24e5606e3a04e4dc4d5f4b07ba153f1.zip |
ssl: Add private_key to connection_env
Diffstat (limited to 'lib/ssl/src/ssl_connection.hrl')
-rw-r--r-- | lib/ssl/src/ssl_connection.hrl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssl/src/ssl_connection.hrl b/lib/ssl/src/ssl_connection.hrl index 21c200271d..fc8e6bdec2 100644 --- a/lib/ssl/src/ssl_connection.hrl +++ b/lib/ssl/src/ssl_connection.hrl @@ -77,7 +77,8 @@ downgrade, terminated = false ::boolean() | closed, negotiated_version :: ssl_record:ssl_version() | 'undefined', - erl_dist_handle = undefined :: erlang:dist_handle() | undefined + erl_dist_handle = undefined :: erlang:dist_handle() | undefined, + private_key :: public_key:private_key() | secret_printout() | 'undefined' }). -record(state, { @@ -101,7 +102,6 @@ %% Used only in HS client_certificate_requested = false :: boolean(), key_algorithm :: ssl:key_algo(), - 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(), psk_identity :: binary() | 'undefined', % server psk identity hint |