summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2023-05-09 08:04:20 +0200
committerHugo Landau <hlandau@openssl.org>2023-05-10 18:26:03 +0100
commit2913b5c09fcc4e5d493589ded2c22a3116127ed0 (patch)
tree97f10c5c56d412c68cb711e1b54368c7ad8182dc
parent8c63b14296f117b07781509ced529a8955d78fb9 (diff)
downloadopenssl-new-2913b5c09fcc4e5d493589ded2c22a3116127ed0.tar.gz
DLTS → DTLS
Fix a typo that is confusing for newcomers. CLA: trivial Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20909)
-rw-r--r--doc/man1/openssl.pod2
-rw-r--r--test/dtlstest.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/man1/openssl.pod b/doc/man1/openssl.pod
index c874cca0b7..9bfd2f88a8 100644
--- a/doc/man1/openssl.pod
+++ b/doc/man1/openssl.pod
@@ -589,7 +589,7 @@ B<s_client> and B<s_server> commands.
=item B<-dtls>, B<-dtls1>, B<-dtls1_2>
-These options specify to use DTLS instead of DLTS.
+These options specify to use DTLS instead of TLS.
With B<-dtls>, clients will negotiate any supported DTLS protocol version.
Use the B<-dtls1> or B<-dtls1_2> options to support only DTLS1.0 or DTLS1.2,
respectively.
diff --git a/test/dtlstest.c b/test/dtlstest.c
index 2378b26f40..79cd37f45e 100644
--- a/test/dtlstest.c
+++ b/test/dtlstest.c
@@ -620,7 +620,7 @@ static int test_listen(void)
/*
* The last parameter to create_bare_ssl_connection() requests that
- * DLTSv1_listen() is used.
+ * DTLSv1_listen() is used.
*/
if (!TEST_true(create_bare_ssl_connection(serverssl, clientssl,
SSL_ERROR_NONE, 1, 1)))