diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2021-03-17 18:09:51 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2021-03-17 18:09:51 +0000 |
commit | f2c78c4abcc5cd49558d2cc436cfafba51a9888a (patch) | |
tree | ed857280b0ff757e6039d7b6ff7dcf9196ff1c51 /usr.bin | |
parent | c2693f9fd18690a40d501f4d6ac3d5fe1d1326f8 (diff) |
Use consistent s_server_opt_ prefix.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/openssl/s_server.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/usr.bin/openssl/s_server.c b/usr.bin/openssl/s_server.c index 6009b584bfe..16732954f1f 100644 --- a/usr.bin/openssl/s_server.c +++ b/usr.bin/openssl/s_server.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_server.c,v 1.45 2021/03/17 18:08:32 jsing Exp $ */ +/* $OpenBSD: s_server.c,v 1.46 2021/03/17 18:09:50 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -365,7 +365,7 @@ s_server_opt_protocol_version_dtls1_2(void) #endif static int -s_server_protocol_version_tls1(void) +s_server_opt_protocol_version_tls1(void) { s_server_config.min_version = TLS1_VERSION; s_server_config.max_version = TLS1_VERSION; @@ -373,7 +373,7 @@ s_server_protocol_version_tls1(void) } static int -s_server_protocol_version_tls1_1(void) +s_server_opt_protocol_version_tls1_1(void) { s_server_config.min_version = TLS1_1_VERSION; s_server_config.max_version = TLS1_1_VERSION; @@ -381,7 +381,7 @@ s_server_protocol_version_tls1_1(void) } static int -s_server_protocol_version_tls1_2(void) +s_server_opt_protocol_version_tls1_2(void) { s_server_config.min_version = TLS1_2_VERSION; s_server_config.max_version = TLS1_2_VERSION; @@ -389,7 +389,7 @@ s_server_protocol_version_tls1_2(void) } static int -s_server_protocol_version_tls1_3(void) +s_server_opt_protocol_version_tls1_3(void) { s_server_config.min_version = TLS1_3_VERSION; s_server_config.max_version = TLS1_3_VERSION; @@ -930,25 +930,25 @@ static const struct option s_server_options[] = { .name = "tls1", .desc = "Just talk TLSv1", .type = OPTION_FUNC, - .opt.func = s_server_protocol_version_tls1, + .opt.func = s_server_opt_protocol_version_tls1, }, { .name = "tls1_1", .desc = "Just talk TLSv1.1", .type = OPTION_FUNC, - .opt.func = s_server_protocol_version_tls1_1, + .opt.func = s_server_opt_protocol_version_tls1_1, }, { .name = "tls1_2", .desc = "Just talk TLSv1.2", .type = OPTION_FUNC, - .opt.func = s_server_protocol_version_tls1_2, + .opt.func = s_server_opt_protocol_version_tls1_2, }, { .name = "tls1_3", .desc = "Just talk TLSv1.3", .type = OPTION_FUNC, - .opt.func = s_server_protocol_version_tls1_3, + .opt.func = s_server_opt_protocol_version_tls1_3, }, { .name = "tlsextdebug", |