diff options
author | jsing <> | 2020-04-19 17:05:55 +0000 |
---|---|---|
committer | jsing <> | 2020-04-19 17:05:55 +0000 |
commit | 8ab293189552d72b08283999a617fe1bfd425eab (patch) | |
tree | b9b4bc0e1b50226405d0c80a0a502fc728b01ecc /src/usr.bin/openssl/s_client.c | |
parent | 5d4d24ed48bfae58d1e947c72284c1f5396f56d8 (diff) | |
download | openbsd-8ab293189552d72b08283999a617fe1bfd425eab.tar.gz openbsd-8ab293189552d72b08283999a617fe1bfd425eab.tar.bz2 openbsd-8ab293189552d72b08283999a617fe1bfd425eab.zip |
Add -groups option to openssl(1) s_server.
This allows supported EC groups to be configured, which will also control
which TLSv1.3 key shares we'll accept. While here, deprecate the rather
useless -named_curve option, which is effectively the same as -groups with
a single group. Also stop setting a single default group of P-256 via
SSL_CTX_set_tmp_ecdh() - use the library defaults instead.
ok beck@ inoguchi@
Diffstat (limited to 'src/usr.bin/openssl/s_client.c')
-rw-r--r-- | src/usr.bin/openssl/s_client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/s_client.c b/src/usr.bin/openssl/s_client.c index 443f00505e..02db7feac8 100644 --- a/src/usr.bin/openssl/s_client.c +++ b/src/usr.bin/openssl/s_client.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: s_client.c,v 1.42 2020/02/16 16:39:01 jsing Exp $ */ | 1 | /* $OpenBSD: s_client.c,v 1.43 2020/04/19 17:05:55 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 | * |
@@ -245,7 +245,7 @@ sc_usage(void) | |||
245 | BIO_printf(bio_err, " -status - request certificate status from server\n"); | 245 | BIO_printf(bio_err, " -status - request certificate status from server\n"); |
246 | BIO_printf(bio_err, " -no_ticket - disable use of RFC4507bis session tickets\n"); | 246 | BIO_printf(bio_err, " -no_ticket - disable use of RFC4507bis session tickets\n"); |
247 | BIO_printf(bio_err, " -alpn arg - enable ALPN extension, considering named protocols supported (comma-separated list)\n"); | 247 | BIO_printf(bio_err, " -alpn arg - enable ALPN extension, considering named protocols supported (comma-separated list)\n"); |
248 | BIO_printf(bio_err, " -groups arg - specify EC curve groups (colon-separated list)\n"); | 248 | BIO_printf(bio_err, " -groups arg - specify EC groups (colon-separated list)\n"); |
249 | #ifndef OPENSSL_NO_SRTP | 249 | #ifndef OPENSSL_NO_SRTP |
250 | BIO_printf(bio_err, " -use_srtp profiles - Offer SRTP key management with a colon-separated profile list\n"); | 250 | BIO_printf(bio_err, " -use_srtp profiles - Offer SRTP key management with a colon-separated profile list\n"); |
251 | #endif | 251 | #endif |