Loading crypto/mem.c +18 −2 Original line number Diff line number Diff line Loading @@ -82,6 +82,14 @@ static void *default_malloc_ex(size_t num, const char *file, int line) static void *(*malloc_ex_func) (size_t, const char *file, int line) = default_malloc_ex; #ifdef OPENSSL_SYS_VMS # if __INITIAL_POINTER_SIZE == 64 # define realloc _realloc64 # else # define realloc _realloc32 # endif #endif static void *(*realloc_func) (void *, size_t) = realloc; static void *default_realloc_ex(void *str, size_t num, const char *file, int line) Loading @@ -92,7 +100,11 @@ static void *default_realloc_ex(void *str, size_t num, static void *(*realloc_ex_func) (void *, size_t, const char *file, int line) = default_realloc_ex; #ifdef OPENSSL_SYS_VMS static void (*free_func) (__void_ptr64) = free; #else static void (*free_func) (void *) = free; #endif static void *(*malloc_locked_func) (size_t) = malloc; static void *default_malloc_locked_ex(size_t num, const char *file, int line) Loading @@ -103,7 +115,11 @@ static void *default_malloc_locked_ex(size_t num, const char *file, int line) static void *(*malloc_locked_ex_func) (size_t, const char *file, int line) = default_malloc_locked_ex; #ifdef OPENSSL_SYS_VMS static void (*free_locked_func) (__void_ptr64) = free; #else static void (*free_locked_func) (void *) = free; #endif /* may be changed as long as 'allow_customize_debug' is set */ /* XXX use correct function pointer types */ Loading Loading
crypto/mem.c +18 −2 Original line number Diff line number Diff line Loading @@ -82,6 +82,14 @@ static void *default_malloc_ex(size_t num, const char *file, int line) static void *(*malloc_ex_func) (size_t, const char *file, int line) = default_malloc_ex; #ifdef OPENSSL_SYS_VMS # if __INITIAL_POINTER_SIZE == 64 # define realloc _realloc64 # else # define realloc _realloc32 # endif #endif static void *(*realloc_func) (void *, size_t) = realloc; static void *default_realloc_ex(void *str, size_t num, const char *file, int line) Loading @@ -92,7 +100,11 @@ static void *default_realloc_ex(void *str, size_t num, static void *(*realloc_ex_func) (void *, size_t, const char *file, int line) = default_realloc_ex; #ifdef OPENSSL_SYS_VMS static void (*free_func) (__void_ptr64) = free; #else static void (*free_func) (void *) = free; #endif static void *(*malloc_locked_func) (size_t) = malloc; static void *default_malloc_locked_ex(size_t num, const char *file, int line) Loading @@ -103,7 +115,11 @@ static void *default_malloc_locked_ex(size_t num, const char *file, int line) static void *(*malloc_locked_ex_func) (size_t, const char *file, int line) = default_malloc_locked_ex; #ifdef OPENSSL_SYS_VMS static void (*free_locked_func) (__void_ptr64) = free; #else static void (*free_locked_func) (void *) = free; #endif /* may be changed as long as 'allow_customize_debug' is set */ /* XXX use correct function pointer types */ Loading