summaryrefslogtreecommitdiff
path: root/lib/ssl/src/ssl_connection.hrl
diff options
context:
space:
mode:
authorKian-Meng, Ang <kianmeng@cpan.org>2022-01-01 18:29:11 +0800
committerKian-Meng Ang <kianmeng@cpan.org>2022-01-03 20:42:52 +0800
commita8b5f77c777e774d502047d85d76d9618c3c18e4 (patch)
tree419b27ea240723b0015bcc06a3bc61a3de6c6757 /lib/ssl/src/ssl_connection.hrl
parent4c4ef9c97af49a598d8df2d77e21b471ed1d9ba9 (diff)
downloaderlang-a8b5f77c777e774d502047d85d76d9618c3c18e4.tar.gz
Fix typos in lib/ssl
Diffstat (limited to 'lib/ssl/src/ssl_connection.hrl')
-rw-r--r--lib/ssl/src/ssl_connection.hrl10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/ssl/src/ssl_connection.hrl b/lib/ssl/src/ssl_connection.hrl
index 5b90dc4105..a08545cafc 100644
--- a/lib/ssl/src/ssl_connection.hrl
+++ b/lib/ssl/src/ssl_connection.hrl
@@ -106,13 +106,13 @@
ssl_options :: ssl_options(),
socket_options :: #socket_options{},
- %% Hanshake %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %% Handshake %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
handshake_env :: #handshake_env{} | secret_printout(),
%% Buffer of TLS/DTLS records, used during the TLS
%% handshake to when possible pack more than one TLS
- %% record into the underlaying packet
+ %% record into the underlying packet
%% format. Introduced by DTLS - RFC 4347. The
- %% mecahnism is also usefull in TLS although we do not
+ %% mechanism is also useful in TLS although we do not
%% need to worry about packet loss in TLS. In DTLS we
%% need to track DTLS handshake seqnr
flight_buffer = [] :: list() | map(),
@@ -159,9 +159,9 @@
%% renegotiation - TLS 1.3 forbids renegotiation
%% hello - used in user_hello, handshake continue
%% allow_renegotiate - TLS 1.3 forbids renegotiation
-%% expecting_next_protocol_negotiation - ALPN replaced NPN, depricated in TLS 1.3
+%% expecting_next_protocol_negotiation - ALPN replaced NPN, deprecated in TLS 1.3
%% expecting_finished - not implemented, used by abbreviated
-%% next_protocol - ALPN replaced NPN, depricated in TLS 1.3
+%% next_protocol - ALPN replaced NPN, deprecated in TLS 1.3
%%
%% connection_state :: map()
%%