summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2016-01-12 18:09:34 +0000
committerDr. Stephen Henson <steve@openssl.org>2016-01-12 18:45:25 +0000
commitcf926b4563165c92b09ec7854d054e618b80de4c (patch)
treedff43fdb81dead53a8eca72ad67b61c3aa97ac3c
parentd5b33a518f9833d0550f61656a57f46c48bef926 (diff)
fix jpaketest and correct comment
Reviewed-by: Rich Salz <rsalz@openssl.org>
-rw-r--r--include/openssl/crypto.h2
-rw-r--r--test/jpaketest.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/openssl/crypto.h b/include/openssl/crypto.h
index 7a45699a62..a32f373724 100644
--- a/include/openssl/crypto.h
+++ b/include/openssl/crypto.h
@@ -497,7 +497,7 @@ int CRYPTO_mem_debug_push(const char *info, const char *file, int line);
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:
* 0: called before the actual memory allocation has taken place
* 1: called after the actual memory allocation has taken place
diff --git a/test/jpaketest.c b/test/jpaketest.c
index 1c9cf24909..7569f2e167 100644
--- a/test/jpaketest.c
+++ b/test/jpaketest.c
@@ -117,7 +117,7 @@ int main(int argc, char **argv)
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);
#endif