New option SSL_OP_NO_COMP to disable compression. New ctrls to set
[openssl.git] / apps / s_client.c
index 96ae832ca1a78a84be4913ae1a0b545b5a5e4ebb..efd8b06fe6eea310ecccff3c1b111d0fb665f6d6 100644 (file)
@@ -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)