summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjsing <>2021-03-17 18:09:50 +0000
committerjsing <>2021-03-17 18:09:50 +0000
commit8aa0665375f895a74db2ba435cef21a47354b36c (patch)
tree2bca07877b896bd10aa6d57b252517ac9b6cdc4f /src
parente1e6bd710141831f3f7a3926738ccb4ae42103fb (diff)
downloadopenbsd-8aa0665375f895a74db2ba435cef21a47354b36c.tar.gz
openbsd-8aa0665375f895a74db2ba435cef21a47354b36c.tar.bz2
openbsd-8aa0665375f895a74db2ba435cef21a47354b36c.zip
Use consistent s_server_opt_ prefix.
Diffstat (limited to 'src')
-rw-r--r--src/usr.bin/openssl/s_server.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/usr.bin/openssl/s_server.c b/src/usr.bin/openssl/s_server.c
index 6009b584bf..16732954f1 100644
--- a/src/usr.bin/openssl/s_server.c
+++ b/src/usr.bin/openssl/s_server.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: s_server.c,v 1.45 2021/03/17 18:08:32 jsing Exp $ */ 1/* $OpenBSD: s_server.c,v 1.46 2021/03/17 18:09:50 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -365,7 +365,7 @@ s_server_opt_protocol_version_dtls1_2(void)
365#endif 365#endif
366 366
367static int 367static int
368s_server_protocol_version_tls1(void) 368s_server_opt_protocol_version_tls1(void)
369{ 369{
370 s_server_config.min_version = TLS1_VERSION; 370 s_server_config.min_version = TLS1_VERSION;
371 s_server_config.max_version = TLS1_VERSION; 371 s_server_config.max_version = TLS1_VERSION;
@@ -373,7 +373,7 @@ s_server_protocol_version_tls1(void)
373} 373}
374 374
375static int 375static int
376s_server_protocol_version_tls1_1(void) 376s_server_opt_protocol_version_tls1_1(void)
377{ 377{
378 s_server_config.min_version = TLS1_1_VERSION; 378 s_server_config.min_version = TLS1_1_VERSION;
379 s_server_config.max_version = TLS1_1_VERSION; 379 s_server_config.max_version = TLS1_1_VERSION;
@@ -381,7 +381,7 @@ s_server_protocol_version_tls1_1(void)
381} 381}
382 382
383static int 383static int
384s_server_protocol_version_tls1_2(void) 384s_server_opt_protocol_version_tls1_2(void)
385{ 385{
386 s_server_config.min_version = TLS1_2_VERSION; 386 s_server_config.min_version = TLS1_2_VERSION;
387 s_server_config.max_version = TLS1_2_VERSION; 387 s_server_config.max_version = TLS1_2_VERSION;
@@ -389,7 +389,7 @@ s_server_protocol_version_tls1_2(void)
389} 389}
390 390
391static int 391static int
392s_server_protocol_version_tls1_3(void) 392s_server_opt_protocol_version_tls1_3(void)
393{ 393{
394 s_server_config.min_version = TLS1_3_VERSION; 394 s_server_config.min_version = TLS1_3_VERSION;
395 s_server_config.max_version = TLS1_3_VERSION; 395 s_server_config.max_version = TLS1_3_VERSION;
@@ -930,25 +930,25 @@ static const struct option s_server_options[] = {
930 .name = "tls1", 930 .name = "tls1",
931 .desc = "Just talk TLSv1", 931 .desc = "Just talk TLSv1",
932 .type = OPTION_FUNC, 932 .type = OPTION_FUNC,
933 .opt.func = s_server_protocol_version_tls1, 933 .opt.func = s_server_opt_protocol_version_tls1,
934 }, 934 },
935 { 935 {
936 .name = "tls1_1", 936 .name = "tls1_1",
937 .desc = "Just talk TLSv1.1", 937 .desc = "Just talk TLSv1.1",
938 .type = OPTION_FUNC, 938 .type = OPTION_FUNC,
939 .opt.func = s_server_protocol_version_tls1_1, 939 .opt.func = s_server_opt_protocol_version_tls1_1,
940 }, 940 },
941 { 941 {
942 .name = "tls1_2", 942 .name = "tls1_2",
943 .desc = "Just talk TLSv1.2", 943 .desc = "Just talk TLSv1.2",
944 .type = OPTION_FUNC, 944 .type = OPTION_FUNC,
945 .opt.func = s_server_protocol_version_tls1_2, 945 .opt.func = s_server_opt_protocol_version_tls1_2,
946 }, 946 },
947 { 947 {
948 .name = "tls1_3", 948 .name = "tls1_3",
949 .desc = "Just talk TLSv1.3", 949 .desc = "Just talk TLSv1.3",
950 .type = OPTION_FUNC, 950 .type = OPTION_FUNC,
951 .opt.func = s_server_protocol_version_tls1_3, 951 .opt.func = s_server_opt_protocol_version_tls1_3,
952 }, 952 },
953 { 953 {
954 .name = "tlsextdebug", 954 .name = "tlsextdebug",