projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6e8c19
)
Check for errors from SSL_COMP_add_compression_method().
author
Richard Levitte
<levitte@openssl.org>
Thu, 2 Oct 2003 10:41:48 +0000
(10:41 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Thu, 2 Oct 2003 10:41:48 +0000
(10:41 +0000)
Notified by Andrew Marlow <AMARLOW1@bloomberg.net>
ssl/ssltest.c
patch
|
blob
|
history
diff --git
a/ssl/ssltest.c
b/ssl/ssltest.c
index 7bb4152000cf4bb5c24409c1b9af4e917243bdc2..0c684604c7260e0d7c960c7147381ca9599d03d9 100644
(file)
--- a/
ssl/ssltest.c
+++ b/
ssl/ssltest.c
@@
-594,7
+594,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,