]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - apps/s_server.c
New option SSL_OP_NO_COMP to disable compression. New ctrls to set
[thirdparty/openssl.git] / apps / s_server.c
index 8c6fcc240ad357ef3c2684d12f565b37bd95b919..27c0e43fb4a6bb56fad41b8aedd3dcf9c855aff2 100644 (file)
@@ -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(); }