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

enable leak checking for danetest

Reviewed-by: NRich Salz <rsalz@openssl.org>
上级 c26e5369
...@@ -474,6 +474,7 @@ int main(int argc, char *argv[]) ...@@ -474,6 +474,7 @@ int main(int argc, char *argv[])
p = getenv("OPENSSL_DEBUG_MEMORY"); p = getenv("OPENSSL_DEBUG_MEMORY");
if (p != NULL && strcmp(p, "on") == 0) if (p != NULL && strcmp(p, "on") == 0)
CRYPTO_set_mem_debug(1); CRYPTO_set_mem_debug(1);
CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON);
f = fopen(tlsafile, "r"); f = fopen(tlsafile, "r");
if (f == NULL) { if (f == NULL) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册