From: Richard Levitte Date: Thu, 2 Oct 2003 10:39:31 +0000 (+0000) Subject: Correct a mixup of return values X-Git-Tag: OpenSSL_0_9_6l~2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c0ec5de6dbd90ec0a0c53cb0064e771e21497a73;p=oweals%2Fopenssl.git Correct a mixup of return values --- diff --git a/ssl/ssl_ciph.c b/ssl/ssl_ciph.c index f63163f26c..121056697a 100644 --- 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); }