Make OPENSSL_NO_COMP work under Win32.
[openssl.git] / ssl / ssltest.c
index 4f7ec37f875778730f052c9337076bec8b0fec8e..5f74c51b38907fb83f9496f4d35e329d66e92d62 100644 (file)
@@ -678,7 +678,6 @@ bad:
                        ERR_print_errors_fp(stderr);
                        }
                }
-#endif
        ssl_comp_methods = SSL_COMP_get_compression_methods();
        fprintf(stderr, "Available compression methods:\n");
        {
@@ -692,6 +691,7 @@ bad:
                        fprintf(stderr, "  %d: %s\n", c->id, c->name);
                        }
        }
+#endif
 
 #if !defined(OPENSSL_NO_SSL2) && !defined(OPENSSL_NO_SSL3)
        if (ssl2)