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:
parent
9eaa5f9a32
commit
d6b55faca3
1 changed files with 2 additions and 2 deletions
|
@ -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. */
|
||||||
|
|
Loading…
Reference in a new issue