diff options
author | Péter Dimitrov <[email protected]> | 2018-12-17 09:41:58 +0100 |
---|---|---|
committer | Péter Dimitrov <[email protected]> | 2019-01-11 09:59:12 +0100 |
commit | 5550d8265860adec290aaf4a9498ec88b1a31386 (patch) | |
tree | 76eaf91ea3ce6b45af6a53c89e5ea775094e2f08 /lib/ssl/src/ssl_cipher.erl | |
parent | 20333cce220322c9387622b944b03ad42e9cc3aa (diff) | |
download | otp-5550d8265860adec290aaf4a9498ec88b1a31386.tar.gz otp-5550d8265860adec290aaf4a9498ec88b1a31386.tar.bz2 otp-5550d8265860adec290aaf4a9498ec88b1a31386.zip |
ssl: Refactor state 'negotiated'
Change-Id: I1a2e9b1b639cae0d78b6d25d7b6e761a2d90b7b1
Diffstat (limited to 'lib/ssl/src/ssl_cipher.erl')
-rw-r--r-- | lib/ssl/src/ssl_cipher.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ssl/src/ssl_cipher.erl b/lib/ssl/src/ssl_cipher.erl index 46885130d3..bf64ed8b69 100644 --- a/lib/ssl/src/ssl_cipher.erl +++ b/lib/ssl/src/ssl_cipher.erl @@ -94,7 +94,8 @@ security_parameters_1_3(SecParams, CipherSuite) -> SecParams#security_parameters{ cipher_suite = CipherSuite, bulk_cipher_algorithm = bulk_cipher_algorithm(Cipher), - prf_algorithm = PrfHashAlg}. %% HKDF hash algorithm + prf_algorithm = PrfHashAlg, %% HKDF hash algorithm + cipher_type = ?AEAD}. %%-------------------------------------------------------------------- -spec cipher_init(cipher_enum(), binary(), binary()) -> #cipher_state{}. |