From 1087da12fc815a84592454980cdcd5d34b07285b Mon Sep 17 00:00:00 2001 From: Theo Buehler Date: Fri, 11 Apr 2025 18:31:04 +0200 Subject: Sync opensslconf.h, add crypto_arch.h for mips This was easy enough to make compile. As long as it doesn't get in the way, I think we can keep this. Fixes #1110 --- include/arch/mips/opensslconf.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'include') diff --git a/include/arch/mips/opensslconf.h b/include/arch/mips/opensslconf.h index f17d3d2..a5d26b6 100644 --- a/include/arch/mips/opensslconf.h +++ b/include/arch/mips/opensslconf.h @@ -1,15 +1,22 @@ #include /* crypto/opensslconf.h.in */ -#if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR) +#if defined(HEADER_CRYPTO_LOCAL_H) && !defined(OPENSSLDIR) #define OPENSSLDIR "/etc/ssl" #endif -#undef OPENSSL_UNISTD -#define OPENSSL_UNISTD - #undef OPENSSL_EXPORT_VAR_AS_FUNCTION +#ifndef OPENSSL_FILE +#ifdef OPENSSL_NO_FILENAMES +#define OPENSSL_FILE "" +#define OPENSSL_LINE 0 +#else +#define OPENSSL_FILE __FILE__ +#define OPENSSL_LINE __LINE__ +#endif +#endif + #if defined(HEADER_IDEA_H) && !defined(IDEA_INT) #define IDEA_INT unsigned int #endif @@ -68,13 +75,6 @@ #undef EIGHT_BIT #endif -#if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H) -#define CONFIG_HEADER_RC4_LOCL_H -/* if this is defined data[i] is used instead of *data, this is a %20 - * speedup on x86 */ -#define RC4_INDEX -#endif - #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) #define CONFIG_HEADER_BF_LOCL_H #undef BF_PTR -- cgit v1.2.3-55-g6feb