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

Fixup secmemtest for the change of CRYPTO_free() and friends

Switching it to use OPENSSL_free() et al when appropriate.
Reviewed-by: NMatt Caswell <matt@openssl.org>
上级 9eaa5f9a
...@@ -20,8 +20,8 @@ int main(int argc, char **argv) ...@@ -20,8 +20,8 @@ int main(int argc, char **argv)
perror("failed 1"); perror("failed 1");
return 1; return 1;
} }
CRYPTO_secure_free(p); OPENSSL_secure_free(p);
CRYPTO_free(q); OPENSSL_free(q);
CRYPTO_secure_malloc_done(); CRYPTO_secure_malloc_done();
#else #else
/* Should fail. */ /* Should fail. */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册