summaryrefslogtreecommitdiffstats
path: root/crypto/mem.c
diff options
context:
space:
mode:
authorKurt Roeckx <kurt@roeckx.be>2015-12-22 11:26:39 +0100
committerKurt Roeckx <kurt@roeckx.be>2015-12-22 12:55:11 +0100
commitf5d97098a4c5d1c91887a3f2e0a31c1e20ca32e3 (patch)
tree3169df4a24549d66432ec6e3b82c9942efbacef4 /crypto/mem.c
parentFix memory leak in DSA redo case. (diff)
downloadopenssl-f5d97098a4c5d1c91887a3f2e0a31c1e20ca32e3.tar.xz
openssl-f5d97098a4c5d1c91887a3f2e0a31c1e20ca32e3.zip
Also change the non-debug versions to use size_t
Reviewed-by: Richard Levitte <levitte@openssl.org> MR: #1518
Diffstat (limited to 'crypto/mem.c')
-rw-r--r--crypto/mem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/mem.c b/crypto/mem.c
index 0c8f4e1869..7ecf0aebeb 100644
--- a/crypto/mem.c
+++ b/crypto/mem.c
@@ -120,8 +120,8 @@ static long (*get_debug_options_func) (void) = CRYPTO_dbg_get_options;
* applications can use CRYPTO_malloc_debug_init() to select above case at
* run-time
*/
-static void (*malloc_debug_func) (void *, int, const char *, int, int) = NULL;
-static void (*realloc_debug_func) (void *, void *, int, const char *, int,
+static void (*malloc_debug_func) (void *, size_t, const char *, int, int) = NULL;
+static void (*realloc_debug_func) (void *, void *, size_t, const char *, int,
int)
= NULL;
static void (*free_debug_func) (void *, int) = NULL;