From f6e8c19ed12b9ac7ebd6971a94c9e4e0d5f48b49 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 2 Oct 2003 10:38:44 +0000 Subject: [PATCH] Correct a mixup of return values --- ssl/ssl_ciph.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ssl/ssl_ciph.c b/ssl/ssl_ciph.c index f175dc8756..cfce88846f 100644 --- a/ssl/ssl_ciph.c +++ b/ssl/ssl_ciph.c @@ -1188,11 +1188,11 @@ int SSL_COMP_add_compression_method(int id, COMP_METHOD *cm) OPENSSL_free(comp); MemCheck_on(); SSLerr(SSL_F_SSL_COMP_ADD_COMPRESSION_METHOD,ERR_R_MALLOC_FAILURE); - return(0); + return(1); } else { MemCheck_on(); - return(1); + return(0); } } -- 2.25.1