From: Matt Caswell Date: Tue, 27 Jun 2023 09:23:47 +0000 (+0100) Subject: Fix typos in s_client X-Git-Tag: openssl-3.2.0-alpha1~569 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55d3a6be6ba3af9781631e74833ea1dcbd4008e6;p=thirdparty%2Fopenssl.git 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 Reviewed-by: Tom Cosgrove Reviewed-by: Hugo Landau Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/21293) --- diff --git a/apps/s_client.c b/apps/s_client.c index 4adffa4d428..a6c5a559a9d 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -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: