提交 4751717c 编写于 作者: R Richard Levitte

The compression method may be undefined for some reason that has

generated errors.  Therefore, print whatever error there may be...
上级 bd68b6b1
...@@ -398,11 +398,14 @@ bad: ...@@ -398,11 +398,14 @@ bad:
if (cm->type != NID_undef) if (cm->type != NID_undef)
SSL_COMP_add_compression_method(comp, cm); SSL_COMP_add_compression_method(comp, cm);
else else
{
fprintf(stderr, fprintf(stderr,
"Warning: %s compression not supported\n", "Warning: %s compression not supported\n",
(comp == COMP_RLE ? "rle" : (comp == COMP_RLE ? "rle" :
(comp == COMP_ZLIB ? "zlib" : (comp == COMP_ZLIB ? "zlib" :
"unknown"))); "unknown")));
ERR_print_errors_fp(stderr);
}
} }
#if !defined(NO_SSL2) && !defined(NO_SSL3) #if !defined(NO_SSL2) && !defined(NO_SSL3)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册