X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=apps%2Fs_server.c;h=8a08a306959ac478b1c4520272b43e8f6ef947d3;hp=cd15c965d2ccdea7ffff6e81e3ad9fffecc87af8;hb=2942dde56c397f4d6ea7c21787f068f34895ddd3;hpb=0f6e21385e32e21ca43ad787781f6255b28cd7f2 diff --git a/apps/s_server.c b/apps/s_server.c index cd15c965d2..8a08a30695 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -491,6 +491,7 @@ static void sv_usage(void) BIO_printf(bio_err," not specified (default is %s)\n",TEST_CERT2); BIO_printf(bio_err," -tlsextdebug - hex dump of all TLS extensions received\n"); BIO_printf(bio_err," -no_ticket - disable use of RFC4507bis session tickets\n"); + BIO_printf(bio_err," -legacy_renegotiation - enable use of legacy renegotiation (dangerous)\n"); #endif } @@ -1014,6 +1015,8 @@ int MAIN(int argc, char *argv[]) verify_return_error = 1; else if (strcmp(*argv,"-serverpref") == 0) { off|=SSL_OP_CIPHER_SERVER_PREFERENCE; } + else if (strcmp(*argv,"-legacy_renegotiation") == 0) + off|=SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION; else if (strcmp(*argv,"-cipher") == 0) { if (--argc < 1) goto bad;