Fixup secmemtest for the change of CRYPTO_free() and friends

Switching it to use OPENSSL_free() et al when appropriate.

Reviewed-by: Matt Caswell <matt@openssl.org>
This commit is contained in:
Richard Levitte 2016-02-17 11:03:55 +01:00
parent 9eaa5f9a32
commit d6b55faca3

View file

@ -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. */