diff options
Diffstat (limited to 'src/lib/libcrypto/crypto.h')
-rw-r--r-- | src/lib/libcrypto/crypto.h | 10 |
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 | |||
349 | void (*CRYPTO_get_dynlock_lock_callback(void))(int mode, struct CRYPTO_dynlock_value *l, const char *file, int line); | 349 | void (*CRYPTO_get_dynlock_lock_callback(void))(int mode, struct CRYPTO_dynlock_value *l, const char *file, int line); |
350 | void (*CRYPTO_get_dynlock_destroy_callback(void))(struct CRYPTO_dynlock_value *l, const char *file, int line); | 350 | void (*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 -- | 352 | int 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), |
354 | int CRYPTO_set_mem_functions(void *(*m)(size_t), void *(*r)(void *, size_t), void (*f)(void *)); | 354 | void (*f)(void *, const char *, int)); |
355 | int 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 | ||
358 | void *CRYPTO_malloc(size_t num, const char *file, int line); | 356 | void *CRYPTO_malloc(size_t num, const char *file, int line); |
359 | char *CRYPTO_strdup(const char *str, const char *file, int line); | 357 | char *CRYPTO_strdup(const char *str, const char *file, int line); |