Skip to content

Commit

Permalink
ssl: Clean dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
IngelaAndin committed Aug 4, 2022
1 parent 9caa804 commit be5d7e6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/ssl/src/tls_handshake_1_3.erl
Original file line number Diff line number Diff line change
Expand Up @@ -1649,12 +1649,9 @@ calculate_client_early_traffic_secret(
PendingRead0 = ssl_record:pending_connection_state(ConnectionStates, read),
PendingRead1 = maybe_store_early_data_secret(KeepSecrets, ClientEarlyTrafficSecret,
PendingRead0),
PendingRead2 = update_connection_state(PendingRead1, undefined, undefined,
PendingRead = update_connection_state(PendingRead1, undefined, undefined,
undefined,
Key, IV, undefined),
%% Signal start of early data. This is to prevent handshake messages to be
%% counted in max_early_data_size.
PendingRead = PendingRead2#{count_early_data => true},
State0#state{connection_states = ConnectionStates#{pending_read => PendingRead}}
end.

Expand Down

0 comments on commit be5d7e6

Please sign in to comment.