From 0f095e8a2af65fdcbf4af38dc6a00383e2fd6b3f Mon Sep 17 00:00:00 2001 From: nectar Date: Wed, 17 Mar 2004 15:49:33 +0000 Subject: Vendor import of OpenSSL 0.9.7d. --- crypto/openssl/ssl/ssltest.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'crypto/openssl/ssl/ssltest.c') diff --git a/crypto/openssl/ssl/ssltest.c b/crypto/openssl/ssl/ssltest.c index 42289c2..2809514 100644 --- a/crypto/openssl/ssl/ssltest.c +++ b/crypto/openssl/ssl/ssltest.c @@ -564,7 +564,14 @@ bad: if (cm != NULL) { if (cm->type != NID_undef) - SSL_COMP_add_compression_method(comp, cm); + { + if (SSL_COMP_add_compression_method(comp, cm) != 0) + { + fprintf(stderr, + "Failed to add compression method\n"); + ERR_print_errors_fp(stderr); + } + } else { fprintf(stderr, -- cgit v1.1