提交 f6e8c19e 编写于 作者: R Richard Levitte

Correct a mixup of return values

上级 cf89b405
......@@ -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);
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册