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, 4 insertions, 6 deletions
diff --git a/src/lib/libcrypto/crypto.h b/src/lib/libcrypto/crypto.h
index 6ddcaff338..b4230f1b28 100644
--- a/src/lib/libcrypto/crypto.h
+++ b/src/lib/libcrypto/crypto.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: crypto.h,v 1.78 2025/03/09 15:12:18 tb Exp $ */ 1/* $OpenBSD: crypto.h,v 1.79 2025/03/09 15:29:56 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 *
@@ -349,11 +349,9 @@ struct CRYPTO_dynlock_value *(*CRYPTO_get_dynlock_create_callback(void))(const c
349void (*CRYPTO_get_dynlock_lock_callback(void))(int mode, struct CRYPTO_dynlock_value *l, const char *file, int line); 349void (*CRYPTO_get_dynlock_lock_callback(void))(int mode, struct CRYPTO_dynlock_value *l, const char *file, int line);
350void (*CRYPTO_get_dynlock_destroy_callback(void))(struct CRYPTO_dynlock_value *l, const char *file, int line); 350void (*CRYPTO_get_dynlock_destroy_callback(void))(struct CRYPTO_dynlock_value *l, const char *file, int line);
351 351
352/* CRYPTO_set_mem_functions includes CRYPTO_set_locked_mem_functions -- 352int CRYPTO_set_mem_functions(void *(*m)(size_t, const char *, int),
353 * call the latter last if you need different functions */ 353 void *(*r)(void *, size_t, const char *, int),
354int CRYPTO_set_mem_functions(void *(*m)(size_t), void *(*r)(void *, size_t), void (*f)(void *)); 354 void (*f)(void *, const char *, int));
355int CRYPTO_set_mem_ex_functions(void *(*m)(size_t, const char *, int),
356 void *(*r)(void *, size_t, const char *, int), void (*f)(void *));
357 355
358void *CRYPTO_malloc(size_t num, const char *file, int line); 356void *CRYPTO_malloc(size_t num, const char *file, int line);
359char *CRYPTO_strdup(const char *str, const char *file, int line); 357char *CRYPTO_strdup(const char *str, const char *file, int line);