From 566dda07ba16f9d3b9774fd5c8d526d7cc93f179 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Sat, 8 Oct 2005 00:18:53 +0000 Subject: New option SSL_OP_NO_COMP to disable compression. New ctrls to set maximum send fragment size. Allocate I/O buffers accordingly. --- apps/s_server.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/s_server.c') 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(); } -- cgit v1.2.3