summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/crypto.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/crypto.h')
-rw-r--r--src/lib/libcrypto/crypto.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libcrypto/crypto.h b/src/lib/libcrypto/crypto.h
index 67c5820500..382d40a350 100644
--- a/src/lib/libcrypto/crypto.h
+++ b/src/lib/libcrypto/crypto.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: crypto.h,v 1.67 2024/03/02 11:32:31 tb Exp $ */ 1/* $OpenBSD: crypto.h,v 1.68 2024/03/02 11:35:09 tb Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved. 3 * Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved.
4 * 4 *
@@ -273,9 +273,9 @@ DECLARE_STACK_OF(void)
273 273
274int CRYPTO_mem_ctrl(int mode); 274int CRYPTO_mem_ctrl(int mode);
275 275
276#define OPENSSL_malloc(num) CRYPTO_malloc((int)num,NULL,0) 276#define OPENSSL_malloc(num) CRYPTO_malloc((num),NULL,0)
277#define OPENSSL_strdup(str) CRYPTO_strdup((str),NULL,0) 277#define OPENSSL_strdup(str) CRYPTO_strdup((str),NULL,0)
278#define OPENSSL_free(addr) CRYPTO_free(addr) 278#define OPENSSL_free(addr) CRYPTO_free((addr),NULL,0)
279#endif 279#endif
280 280
281const char *OpenSSL_version(int type); 281const char *OpenSSL_version(int type);
@@ -364,9 +364,9 @@ int CRYPTO_set_mem_ex_functions(void *(*m)(size_t, const char *, int),
364 void *(*r)(void *, size_t, const char *, int), void (*f)(void *)); 364 void *(*r)(void *, size_t, const char *, int), void (*f)(void *));
365 365
366#ifndef LIBRESSL_INTERNAL 366#ifndef LIBRESSL_INTERNAL
367void *CRYPTO_malloc(int num, const char *file, int line); 367void *CRYPTO_malloc(size_t num, const char *file, int line);
368char *CRYPTO_strdup(const char *str, const char *file, int line); 368char *CRYPTO_strdup(const char *str, const char *file, int line);
369void CRYPTO_free(void *ptr); 369void CRYPTO_free(void *ptr, const char *file, int line);
370#endif 370#endif
371 371
372#ifndef LIBRESSL_INTERNAL 372#ifndef LIBRESSL_INTERNAL