From: Richard Levitte Date: Thu, 30 Nov 2000 12:53:15 +0000 (+0000) Subject: The compression method may be undefined for some reason that has X-Git-Tag: OpenSSL_0_9_6a-beta1~107^2~91 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4751717cd83e7b6c48d933a35ba5406116c655de;p=openssl The compression method may be undefined for some reason that has generated errors. Therefore, print whatever error there may be... --- diff --git a/ssl/ssltest.c b/ssl/ssltest.c index 39bfd67ae4..b44a5ec48f 100644 --- a/ssl/ssltest.c +++ b/ssl/ssltest.c @@ -398,11 +398,14 @@ bad: if (cm->type != NID_undef) SSL_COMP_add_compression_method(comp, cm); else + { fprintf(stderr, "Warning: %s compression not supported\n", (comp == COMP_RLE ? "rle" : (comp == COMP_ZLIB ? "zlib" : "unknown"))); + ERR_print_errors_fp(stderr); + } } #if !defined(NO_SSL2) && !defined(NO_SSL3)