Fix typos in s_client

There was some typos of OPENSS_NO_QUIC (should be OPENSSL_NO_QUIC) in
s_client

Fixes #21291

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21293)
This commit is contained in:
Matt Caswell 2023-06-27 10:23:47 +01:00 committed by Pauli
parent ed5c0dfdf4
commit 55d3a6be6b

View File

@ -1285,9 +1285,7 @@ int s_client_main(int argc, char **argv)
#ifndef OPENSSL_NO_DTLS
isdtls = 0;
#endif
#ifndef OPENSS_NO_QUIC
isquic = 0;
#endif
break;
case OPT_TLS1_3:
min_version = TLS1_3_VERSION;
@ -1296,9 +1294,7 @@ int s_client_main(int argc, char **argv)
#ifndef OPENSSL_NO_DTLS
isdtls = 0;
#endif
#ifndef OPENSS_NO_QUIC
isquic = 0;
#endif
break;
case OPT_TLS1_2:
min_version = TLS1_2_VERSION;
@ -1307,9 +1303,7 @@ int s_client_main(int argc, char **argv)
#ifndef OPENSSL_NO_DTLS
isdtls = 0;
#endif
#ifndef OPENSS_NO_QUIC
isquic = 0;
#endif
break;
case OPT_TLS1_1:
min_version = TLS1_1_VERSION;
@ -1318,9 +1312,7 @@ int s_client_main(int argc, char **argv)
#ifndef OPENSSL_NO_DTLS
isdtls = 0;
#endif
#ifndef OPENSS_NO_QUIC
isquic = 0;
#endif
break;
case OPT_TLS1:
min_version = TLS1_VERSION;
@ -1329,18 +1321,14 @@ int s_client_main(int argc, char **argv)
#ifndef OPENSSL_NO_DTLS
isdtls = 0;
#endif
#ifndef OPENSS_NO_QUIC
isquic = 0;
#endif
break;
case OPT_DTLS:
#ifndef OPENSSL_NO_DTLS
meth = DTLS_client_method();
socket_type = SOCK_DGRAM;
isdtls = 1;
# ifndef OPENSS_NO_QUIC
isquic = 0;
# endif
#endif
break;
case OPT_DTLS1:
@ -1350,9 +1338,7 @@ int s_client_main(int argc, char **argv)
max_version = DTLS1_VERSION;
socket_type = SOCK_DGRAM;
isdtls = 1;
# ifndef OPENSS_NO_QUIC
isquic = 0;
# endif
#endif
break;
case OPT_DTLS1_2:
@ -1362,9 +1348,7 @@ int s_client_main(int argc, char **argv)
max_version = DTLS1_2_VERSION;
socket_type = SOCK_DGRAM;
isdtls = 1;
# ifndef OPENSS_NO_QUIC
isquic = 0;
# endif
#endif
break;
case OPT_QUIC: