projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3074ade
)
Correct a mixup of return values
author
Richard Levitte
<levitte@openssl.org>
Thu, 2 Oct 2003 10:39:31 +0000
(10:39 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Thu, 2 Oct 2003 10:39:31 +0000
(10:39 +0000)
ssl/ssl_ciph.c
patch
|
blob
|
history
diff --git
a/ssl/ssl_ciph.c
b/ssl/ssl_ciph.c
index f63163f26c38cfd1964194803e67b0c51c4a04ee..121056697aeb31c37426e070ba5db53d5111c1b8 100644
(file)
--- a/
ssl/ssl_ciph.c
+++ b/
ssl/ssl_ciph.c
@@
-1063,9
+1063,9
@@
int SSL_COMP_add_compression_method(int id, COMP_METHOD *cm)
if ((sk == NULL) || !sk_SSL_COMP_push(sk,comp))
{
SSLerr(SSL_F_SSL_COMP_ADD_COMPRESSION_METHOD,ERR_R_MALLOC_FAILURE);
- return(
0
);
+ return(
1
);
}
else
- return(
1
);
+ return(
0
);
}