提交 c26e5369 编写于 作者: D Dr. Stephen Henson

Fix return code in CRYPTO_mem_leaks_fp()

Reviewed-by: NRich Salz <rsalz@openssl.org>
上级 541e9565
......@@ -694,8 +694,8 @@ int CRYPTO_mem_leaks_fp(FILE *fp)
BIO *b;
int ret;
if (mh == NULL)
return 0;
if (mh == NULL && amih == NULL)
return 1;
/*
* Need to turn off memory checking when allocated BIOs ... especially as
* we're creating them at a time when we're trying to check we've not
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册