aboutsummaryrefslogtreecommitdiff
path: root/ssl/ssltest.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2000-11-30 12:53:15 +0000
committerRichard Levitte <levitte@openssl.org>2000-11-30 12:53:15 +0000
commit4751717cd83e7b6c48d933a35ba5406116c655de (patch)
treef1545e2d53d8c1946bc7605ca527a37270478e8c /ssl/ssltest.c
parentbd68b6b1f68eccaf96f78945b465f3bea7114f49 (diff)
downloadopenssl-4751717cd83e7b6c48d933a35ba5406116c655de.zip
openssl-4751717cd83e7b6c48d933a35ba5406116c655de.tar.gz
openssl-4751717cd83e7b6c48d933a35ba5406116c655de.tar.bz2
The compression method may be undefined for some reason that has
generated errors. Therefore, print whatever error there may be...
Diffstat (limited to 'ssl/ssltest.c')
-rw-r--r--ssl/ssltest.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ssl/ssltest.c b/ssl/ssltest.c
index 39bfd67..b44a5ec 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)