diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2005-10-01 01:35:33 +0200 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2005-10-01 01:35:33 +0200 |
commit | 09b6c2ef15139aa6ef2cee11676070939dd37817 (patch) | |
tree | afeaab1982d494fde0fe9f7425e0873a84a2f5e2 /ssl/ssltest.c | |
parent | successfully updating the db shouldn't result in an error message (diff) | |
download | openssl-09b6c2ef15139aa6ef2cee11676070939dd37817.tar.xz openssl-09b6c2ef15139aa6ef2cee11676070939dd37817.zip |
Make OPENSSL_NO_COMP compile again.
Diffstat (limited to 'ssl/ssltest.c')
-rw-r--r-- | ssl/ssltest.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ssl/ssltest.c b/ssl/ssltest.c index 3818bf3edd..4f7ec37f87 100644 --- a/ssl/ssltest.c +++ b/ssl/ssltest.c @@ -420,7 +420,9 @@ int main(int argc, char *argv[]) int print_time = 0; clock_t s_time = 0, c_time = 0; int comp = 0; +#ifndef OPENSSL_NO_COMP COMP_METHOD *cm = NULL; +#endif STACK_OF(SSL_COMP) *ssl_comp_methods = NULL; int test_cipherlist = 0; @@ -652,6 +654,7 @@ bad: SSL_library_init(); SSL_load_error_strings(); +#ifndef OPENSSL_NO_COMP if (comp == COMP_ZLIB) cm = COMP_zlib(); if (comp == COMP_RLE) cm = COMP_rle(); if (cm != NULL) @@ -675,6 +678,7 @@ bad: ERR_print_errors_fp(stderr); } } +#endif ssl_comp_methods = SSL_COMP_get_compression_methods(); fprintf(stderr, "Available compression methods:\n"); { |