aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2018-09-06 10:10:53 +0200
committerIngela Anderton Andin <[email protected]>2018-09-06 10:47:28 +0200
commit412afc6af4f9ab6c7f374fd8b1f5ebc7706a0962 (patch)
tree704dcda9169f8ad8ba78b34994a2844171f3cf8b /lib/ssl
parent092f4847f489cba0381676a6a389ddbfc2af4f1e (diff)
downloadotp-412afc6af4f9ab6c7f374fd8b1f5ebc7706a0962.tar.gz
otp-412afc6af4f9ab6c7f374fd8b1f5ebc7706a0962.tar.bz2
otp-412afc6af4f9ab6c7f374fd8b1f5ebc7706a0962.zip
ssl: Fix typo
Diffstat (limited to 'lib/ssl')
-rw-r--r--lib/ssl/src/tls_handshake_1_3.erl4
-rw-r--r--lib/ssl/src/tls_handshake_1_3.hrl2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/ssl/src/tls_handshake_1_3.erl b/lib/ssl/src/tls_handshake_1_3.erl
index b4c5f268b8..2957e3a5b4 100644
--- a/lib/ssl/src/tls_handshake_1_3.erl
+++ b/lib/ssl/src/tls_handshake_1_3.erl
@@ -58,7 +58,7 @@ encode_handshake(#new_session_ticket{
{?NEW_SESSION_TICKET, <<?UINT32(LifeTime), ?UINT32(Age),
?BYTE(Nonce), ?UINT16(TicketSize), Ticket/binary,
BinExts/binary>>};
-encode_handshake(#end_of_earyly_data{}) ->
+encode_handshake(#end_of_early_data{}) ->
{?END_OF_EARLY_DATA, <<>>};
encode_handshake(#key_update{request_update = Update}) ->
{?KEY_UPDATE, <<?BYTE(Update)>>};
@@ -103,7 +103,7 @@ decode_handshake(?NEW_SESSION_TICKET, <<?UINT32(LifeTime), ?UINT32(Age),
ticket = Ticket,
extensions = Exts};
decode_handshake(?END_OF_EARLY_DATA, _) ->
- #end_of_earyly_data{};
+ #end_of_early_data{};
decode_handshake(?KEY_UPDATE, <<?BYTE(Update)>>) ->
#key_update{request_update = Update};
decode_handshake(Tag, HandshakeMsg) ->
diff --git a/lib/ssl/src/tls_handshake_1_3.hrl b/lib/ssl/src/tls_handshake_1_3.hrl
index b07fa967b5..0ef954e2e9 100644
--- a/lib/ssl/src/tls_handshake_1_3.hrl
+++ b/lib/ssl/src/tls_handshake_1_3.hrl
@@ -217,7 +217,7 @@
}).
%% RFC 8446 B.3.5. Updating Keys
--record(end_of_earyly_data, {
+-record(end_of_early_data, {
}).
-define(UPDATE_NOT_REQUESTED, 0).