static void (*realloc_debug_func)()= NULL;
static void (*free_debug_func)()= NULL;
static void (*set_debug_options_func)()= NULL;
- static int (*get_debug_options_func)()= NULL;
+ static long (*get_debug_options_func)()= NULL;
#endif
}
-void *CRYPTO_malloc_locked(int num, char *file, int line)
+void *CRYPTO_malloc_locked(int num, const char *file, int line)
{
char *ret = NULL;
free_debug_func(NULL, 1);
}
-void *CRYPTO_malloc(int num, char *file, int line)
+void *CRYPTO_malloc(int num, const char *file, int line)
{
char *ret = NULL;
return ret;
}
-void *CRYPTO_realloc(void *str, int num, char *file, int line)
+void *CRYPTO_realloc(void *str, int num, const char *file, int line)
{
char *ret = NULL;
free_debug_func(NULL, 1);
}
-void *CRYPTO_remalloc(void *a, int num, char *file, int line)
+void *CRYPTO_remalloc(void *a, int num, const char *file, int line)
{
if (a != NULL) Free(a);
a=(char *)Malloc(num);