aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2018-12-14 16:30:18 +0100
committerIngela Anderton Andin <[email protected]>2019-01-22 10:10:36 +0100
commit4eaa4846520dfe39b091c2dcb1206aecc1b54ee1 (patch)
treec5c00215e12812a2385e149f7b30eb547213ef58
parentae7a789b08e771bb088b9490b3ef9cf3f0277f37 (diff)
downloadotp-4eaa4846520dfe39b091c2dcb1206aecc1b54ee1.tar.gz
otp-4eaa4846520dfe39b091c2dcb1206aecc1b54ee1.tar.bz2
otp-4eaa4846520dfe39b091c2dcb1206aecc1b54ee1.zip
ssl: Remove unnecessary iolist_to_binary
-rw-r--r--lib/ssl/src/ssl_connection.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/src/ssl_connection.erl b/lib/ssl/src/ssl_connection.erl
index 7d7da2dcec..f2569aa573 100644
--- a/lib/ssl/src/ssl_connection.erl
+++ b/lib/ssl/src/ssl_connection.erl
@@ -1157,7 +1157,7 @@ handle_common_event(internal, {handshake, {Handshake, Raw}}, StateName,
%% a client_hello, which needs to be determined by the connection callback.
%% In other cases this is a noop
State = handle_sni_extension(PossibleSNI, State0),
- HsHist = ssl_handshake:update_handshake_history(Hs0, iolist_to_binary(Raw)),
+ HsHist = ssl_handshake:update_handshake_history(Hs0, Raw),
{next_state, StateName, State#state{tls_handshake_history = HsHist},
[{next_event, internal, Handshake}]};
handle_common_event(internal, {protocol_record, TLSorDTLSRecord}, StateName, State, Connection) ->