diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2005-10-08 00:18:53 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2005-10-08 00:18:53 +0000 |
commit | 566dda07ba16f9d3b9774fd5c8d526d7cc93f179 (patch) | |
tree | d9c9971aa851fe9e977cddc2c1633a36973338ee /apps | |
parent | 7a2f4cbfe8d63d7212bcce9dee7ef3b4a0faca00 (diff) |
New option SSL_OP_NO_COMP to disable compression. New ctrls to set
maximum send fragment size. Allocate I/O buffers accordingly.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/s_client.c | 2 | ||||
-rw-r--r-- | apps/s_server.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/apps/s_client.c b/apps/s_client.c index 96ae832ca1..efd8b06fe6 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -450,6 +450,8 @@ int MAIN(int argc, char **argv) off|=SSL_OP_NO_SSLv3; else if (strcmp(*argv,"-no_ssl2") == 0) off|=SSL_OP_NO_SSLv2; + else if (strcmp(*argv,"-no_comp") == 0) + { off|=SSL_OP_NO_COMPRESSION; } else if (strcmp(*argv,"-serverpref") == 0) off|=SSL_OP_CIPHER_SERVER_PREFERENCE; else if (strcmp(*argv,"-cipher") == 0) diff --git a/apps/s_server.c b/apps/s_server.c index 8c6fcc240a..27c0e43fb4 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -754,6 +754,8 @@ int MAIN(int argc, char *argv[]) { off|=SSL_OP_NO_SSLv3; } else if (strcmp(*argv,"-no_tls1") == 0) { off|=SSL_OP_NO_TLSv1; } + else if (strcmp(*argv,"-no_comp") == 0) + { off|=SSL_OP_NO_COMPRESSION; } #ifndef OPENSSL_NO_SSL2 else if (strcmp(*argv,"-ssl2") == 0) { meth=SSLv2_server_method(); } |