summaryrefslogtreecommitdiff
path: root/src/lib/libssl/src/apps/s_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/src/apps/s_server.c')
-rw-r--r--src/lib/libssl/src/apps/s_server.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libssl/src/apps/s_server.c b/src/lib/libssl/src/apps/s_server.c
index 27925b492d..a84b822538 100644
--- a/src/lib/libssl/src/apps/s_server.c
+++ b/src/lib/libssl/src/apps/s_server.c
@@ -525,7 +525,6 @@ sv_usage(void)
525 BIO_printf(bio_err, " not specified (default is %s)\n", TEST_CERT2); 525 BIO_printf(bio_err, " not specified (default is %s)\n", TEST_CERT2);
526 BIO_printf(bio_err, " -tlsextdebug - hex dump of all TLS extensions received\n"); 526 BIO_printf(bio_err, " -tlsextdebug - hex dump of all TLS extensions received\n");
527 BIO_printf(bio_err, " -no_ticket - disable use of RFC4507bis session tickets\n"); 527 BIO_printf(bio_err, " -no_ticket - disable use of RFC4507bis session tickets\n");
528 BIO_printf(bio_err, " -legacy_renegotiation - enable use of legacy renegotiation (dangerous)\n");
529#ifndef OPENSSL_NO_NEXTPROTONEG 528#ifndef OPENSSL_NO_NEXTPROTONEG
530 BIO_printf(bio_err, " -nextprotoneg arg - set the advertised protocols for the NPN extension (comma-separated list)\n"); 529 BIO_printf(bio_err, " -nextprotoneg arg - set the advertised protocols for the NPN extension (comma-separated list)\n");
531#endif 530#endif
@@ -904,7 +903,7 @@ s_server_main(int argc, char *argv[])
904 else if (strcmp(*argv, "-serverpref") == 0) { 903 else if (strcmp(*argv, "-serverpref") == 0) {
905 off |= SSL_OP_CIPHER_SERVER_PREFERENCE; 904 off |= SSL_OP_CIPHER_SERVER_PREFERENCE;
906 } else if (strcmp(*argv, "-legacy_renegotiation") == 0) 905 } else if (strcmp(*argv, "-legacy_renegotiation") == 0)
907 off |= SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION; 906 ; /* no-op */
908 else if (strcmp(*argv, "-cipher") == 0) { 907 else if (strcmp(*argv, "-cipher") == 0) {
909 if (--argc < 1) 908 if (--argc < 1)
910 goto bad; 909 goto bad;