diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/crypto.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/lib/libcrypto/crypto.h b/src/lib/libcrypto/crypto.h index b4230f1b28..9fcf868403 100644 --- a/src/lib/libcrypto/crypto.h +++ b/src/lib/libcrypto/crypto.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: crypto.h,v 1.79 2025/03/09 15:29:56 tb Exp $ */ | 1 | /* $OpenBSD: crypto.h,v 1.80 2025/09/28 07:52:53 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 | * |
| @@ -197,15 +197,15 @@ extern "C" { | |||
| 197 | 197 | ||
| 198 | #ifndef CRYPTO_w_lock | 198 | #ifndef CRYPTO_w_lock |
| 199 | #define CRYPTO_w_lock(type) \ | 199 | #define CRYPTO_w_lock(type) \ |
| 200 | CRYPTO_lock(CRYPTO_LOCK|CRYPTO_WRITE,type,OPENSSL_FILE,OPENSSL_LINE) | 200 | CRYPTO_lock(CRYPTO_LOCK|CRYPTO_WRITE,type,NULL,0) |
| 201 | #define CRYPTO_w_unlock(type) \ | 201 | #define CRYPTO_w_unlock(type) \ |
| 202 | CRYPTO_lock(CRYPTO_UNLOCK|CRYPTO_WRITE,type,OPENSSL_FILE,OPENSSL_LINE) | 202 | CRYPTO_lock(CRYPTO_UNLOCK|CRYPTO_WRITE,type,NULL,0) |
| 203 | #define CRYPTO_r_lock(type) \ | 203 | #define CRYPTO_r_lock(type) \ |
| 204 | CRYPTO_lock(CRYPTO_LOCK|CRYPTO_READ,type,OPENSSL_FILE,OPENSSL_LINE) | 204 | CRYPTO_lock(CRYPTO_LOCK|CRYPTO_READ,type,NULL,0) |
| 205 | #define CRYPTO_r_unlock(type) \ | 205 | #define CRYPTO_r_unlock(type) \ |
| 206 | CRYPTO_lock(CRYPTO_UNLOCK|CRYPTO_READ,type,OPENSSL_FILE,OPENSSL_LINE) | 206 | CRYPTO_lock(CRYPTO_UNLOCK|CRYPTO_READ,type,NULL,0) |
| 207 | #define CRYPTO_add(addr,amount,type) \ | 207 | #define CRYPTO_add(addr,amount,type) \ |
| 208 | CRYPTO_add_lock(addr,amount,type,OPENSSL_FILE,OPENSSL_LINE) | 208 | CRYPTO_add_lock(addr,amount,type,NULL,0) |
| 209 | #endif | 209 | #endif |
| 210 | 210 | ||
| 211 | /* Some applications as well as some parts of OpenSSL need to allocate | 211 | /* Some applications as well as some parts of OpenSSL need to allocate |
| @@ -275,9 +275,9 @@ DECLARE_STACK_OF(void) | |||
| 275 | 275 | ||
| 276 | int CRYPTO_mem_ctrl(int mode); | 276 | int CRYPTO_mem_ctrl(int mode); |
| 277 | 277 | ||
| 278 | #define OPENSSL_malloc(num) CRYPTO_malloc((num),OPENSSL_FILE,OPENSSL_LINE) | 278 | #define OPENSSL_malloc(num) CRYPTO_malloc((num),NULL,0) |
| 279 | #define OPENSSL_strdup(str) CRYPTO_strdup((str),OPENSSL_FILE,OPENSSL_LINE) | 279 | #define OPENSSL_strdup(str) CRYPTO_strdup((str),NULL,0) |
| 280 | #define OPENSSL_free(addr) CRYPTO_free((addr),OPENSSL_FILE,OPENSSL_LINE) | 280 | #define OPENSSL_free(addr) CRYPTO_free((addr),NULL,0) |
| 281 | 281 | ||
| 282 | const char *OpenSSL_version(int type); | 282 | const char *OpenSSL_version(int type); |
| 283 | #define OPENSSL_VERSION 0 | 283 | #define OPENSSL_VERSION 0 |
