fix jpaketest and correct comment
Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
parent
d5b33a518f
commit
cf926b4563
@ -497,7 +497,7 @@ int CRYPTO_mem_debug_push(const char *info, const char *file, int line);
|
|||||||
int CRYPTO_mem_debug_pop(void);
|
int CRYPTO_mem_debug_pop(void);
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Debugging functions (enabled by CRYPTO_set_mem_debug_functions(1))
|
* Debugging functions (enabled by CRYPTO_set_mem_debug(1))
|
||||||
* The flag argument has the following significance:
|
* The flag argument has the following significance:
|
||||||
* 0: called before the actual memory allocation has taken place
|
* 0: called before the actual memory allocation has taken place
|
||||||
* 1: called after the actual memory allocation has taken place
|
* 1: called after the actual memory allocation has taken place
|
||||||
|
@ -117,7 +117,7 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
bio_err = BIO_new_fp(stderr, BIO_NOCLOSE | BIO_FP_TEXT);
|
bio_err = BIO_new_fp(stderr, BIO_NOCLOSE | BIO_FP_TEXT);
|
||||||
|
|
||||||
CRYPTO_set_mem_debug_functions(1)
|
CRYPTO_set_mem_debug(1);
|
||||||
CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON);
|
CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user