Make OPENSSL_NO_COMP work under Win32.

This commit is contained in:
Dr. Stephen Henson 2005-10-02 12:28:40 +00:00
parent 13e4670c29
commit 231b98a5e1
2 changed files with 2 additions and 1 deletions

View 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)

View file

@ -954,6 +954,7 @@ sub read_options
}
}
}
elsif (/^no-comp$/) { $xcflags = "-DOPENSSL_NO_COMP $xcflags"; }
elsif (/^enable-zlib$/) { $xcflags = "-DZLIB $xcflags"; }
elsif (/^enable-zlib-dynamic$/)
{