diff options
author | jsing <> | 2021-03-17 18:09:50 +0000 |
---|---|---|
committer | jsing <> | 2021-03-17 18:09:50 +0000 |
commit | 8aa0665375f895a74db2ba435cef21a47354b36c (patch) | |
tree | 2bca07877b896bd10aa6d57b252517ac9b6cdc4f /src | |
parent | e1e6bd710141831f3f7a3926738ccb4ae42103fb (diff) | |
download | openbsd-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.c | 18 |
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 | ||
367 | static int | 367 | static int |
368 | s_server_protocol_version_tls1(void) | 368 | s_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 | ||
375 | static int | 375 | static int |
376 | s_server_protocol_version_tls1_1(void) | 376 | s_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 | ||
383 | static int | 383 | static int |
384 | s_server_protocol_version_tls1_2(void) | 384 | s_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 | ||
391 | static int | 391 | static int |
392 | s_server_protocol_version_tls1_3(void) | 392 | s_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", |