The compression method may be undefined for some reason that has
generated errors. Therefore, print whatever error there may be...
This commit is contained in:
parent
bd68b6b1f6
commit
4751717cd8
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue