diff options
Diffstat (limited to 'src/lib/libcrypto/crypto_init.c')
-rw-r--r-- | src/lib/libcrypto/crypto_init.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/libcrypto/crypto_init.c b/src/lib/libcrypto/crypto_init.c index 931dff73f8..44c4846762 100644 --- a/src/lib/libcrypto/crypto_init.c +++ b/src/lib/libcrypto/crypto_init.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: crypto_init.c,v 1.23 2025/05/10 05:54:38 tb Exp $ */ | 1 | /* $OpenBSD: crypto_init.c,v 1.24 2025/05/24 07:23:14 jsing Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2018 Bob Beck <beck@openbsd.org> | 3 | * Copyright (c) 2018 Bob Beck <beck@openbsd.org> |
4 | * | 4 | * |
@@ -37,6 +37,13 @@ static pthread_once_t crypto_init_once = PTHREAD_ONCE_INIT; | |||
37 | static pthread_t crypto_init_thread; | 37 | static pthread_t crypto_init_thread; |
38 | static int crypto_init_cleaned_up; | 38 | static int crypto_init_cleaned_up; |
39 | 39 | ||
40 | #ifndef HAVE_CRYPTO_CPU_CAPS_INIT | ||
41 | void | ||
42 | crypto_cpu_caps_init(void) | ||
43 | { | ||
44 | } | ||
45 | #endif | ||
46 | |||
40 | void | 47 | void |
41 | OPENSSL_init(void) | 48 | OPENSSL_init(void) |
42 | { | 49 | { |