summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/crypto_legacy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/crypto_legacy.c')
-rw-r--r--src/lib/libcrypto/crypto_legacy.c27
1 files changed, 2 insertions, 25 deletions
diff --git a/src/lib/libcrypto/crypto_legacy.c b/src/lib/libcrypto/crypto_legacy.c
index d864fc4c3f..dcaa63236c 100644
--- a/src/lib/libcrypto/crypto_legacy.c
+++ b/src/lib/libcrypto/crypto_legacy.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: crypto_legacy.c,v 1.6 2024/11/06 04:18:42 tb Exp $ */ 1/* $OpenBSD: crypto_legacy.c,v 1.9 2025/07/22 09:18:02 jsing 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 *
@@ -123,10 +123,10 @@
123 123
124#include <openssl/opensslconf.h> 124#include <openssl/opensslconf.h>
125#include <openssl/crypto.h> 125#include <openssl/crypto.h>
126#include <openssl/err.h>
127 126
128#include "crypto_internal.h" 127#include "crypto_internal.h"
129#include "crypto_local.h" 128#include "crypto_local.h"
129#include "err_local.h"
130#include "x86_arch.h" 130#include "x86_arch.h"
131 131
132/* Machine independent capabilities. */ 132/* Machine independent capabilities. */
@@ -306,29 +306,6 @@ void
306} 306}
307LCRYPTO_ALIAS(CRYPTO_get_dynlock_destroy_callback); 307LCRYPTO_ALIAS(CRYPTO_get_dynlock_destroy_callback);
308 308
309#if !defined(OPENSSL_CPUID_SETUP) && !defined(OPENSSL_CPUID_OBJ)
310void
311OPENSSL_cpuid_setup(void)
312{
313}
314#endif
315
316#ifndef HAVE_CRYPTO_CPU_CAPS_INIT
317void
318crypto_cpu_caps_init(void)
319{
320 OPENSSL_cpuid_setup();
321}
322#endif
323
324#ifndef HAVE_CRYPTO_CPU_CAPS_IA32
325uint64_t
326crypto_cpu_caps_ia32(void)
327{
328 return 0;
329}
330#endif
331
332uint64_t 309uint64_t
333OPENSSL_cpu_caps(void) 310OPENSSL_cpu_caps(void)
334{ 311{