diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2009-11-11 14:10:24 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2009-11-11 14:10:24 +0000 |
commit | 2942dde56c397f4d6ea7c21787f068f34895ddd3 (patch) | |
tree | 1687fab4c8e15aab2468facfcaab3dbecd7cfb4d /apps/s_client.c | |
parent | 0f6e21385e32e21ca43ad787781f6255b28cd7f2 (diff) |
commit missing apps code for reneg fix
Diffstat (limited to 'apps/s_client.c')
-rw-r--r-- | apps/s_client.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/s_client.c b/apps/s_client.c index c97597d448..a4be63a114 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -343,6 +343,7 @@ static void sc_usage(void) BIO_printf(bio_err," -status - request certificate status from server\n"); BIO_printf(bio_err," -no_ticket - disable use of RFC4507bis session tickets\n"); #endif + BIO_printf(bio_err," -legacy_renegotiation - enable use of legacy renegotiation (dangerous)\n"); } #ifndef OPENSSL_NO_TLSEXT @@ -658,6 +659,8 @@ int MAIN(int argc, char **argv) #endif 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; |