diff options
| author | Theo Buehler <tb@openbsd.org> | 2025-04-11 18:31:04 +0200 |
|---|---|---|
| committer | Theo Buehler <tb@openbsd.org> | 2025-04-12 18:06:24 +0200 |
| commit | 1087da12fc815a84592454980cdcd5d34b07285b (patch) | |
| tree | b61cb73d1f6952eb4c73d59d65fd23c643505604 /include | |
| parent | 33537646812ce13f5c6c257a6d44adeae259ef6e (diff) | |
| download | portable-1087da12fc815a84592454980cdcd5d34b07285b.tar.gz portable-1087da12fc815a84592454980cdcd5d34b07285b.tar.bz2 portable-1087da12fc815a84592454980cdcd5d34b07285b.zip | |
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
Diffstat (limited to 'include')
| -rw-r--r-- | include/arch/mips/opensslconf.h | 22 |
1 files changed, 11 insertions, 11 deletions
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 @@ | |||
| 1 | #include <openssl/opensslfeatures.h> | 1 | #include <openssl/opensslfeatures.h> |
| 2 | /* crypto/opensslconf.h.in */ | 2 | /* crypto/opensslconf.h.in */ |
| 3 | 3 | ||
| 4 | #if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR) | 4 | #if defined(HEADER_CRYPTO_LOCAL_H) && !defined(OPENSSLDIR) |
| 5 | #define OPENSSLDIR "/etc/ssl" | 5 | #define OPENSSLDIR "/etc/ssl" |
| 6 | #endif | 6 | #endif |
| 7 | 7 | ||
| 8 | #undef OPENSSL_UNISTD | ||
| 9 | #define OPENSSL_UNISTD <unistd.h> | ||
| 10 | |||
| 11 | #undef OPENSSL_EXPORT_VAR_AS_FUNCTION | 8 | #undef OPENSSL_EXPORT_VAR_AS_FUNCTION |
| 12 | 9 | ||
| 10 | #ifndef OPENSSL_FILE | ||
| 11 | #ifdef OPENSSL_NO_FILENAMES | ||
| 12 | #define OPENSSL_FILE "" | ||
| 13 | #define OPENSSL_LINE 0 | ||
| 14 | #else | ||
| 15 | #define OPENSSL_FILE __FILE__ | ||
| 16 | #define OPENSSL_LINE __LINE__ | ||
| 17 | #endif | ||
| 18 | #endif | ||
| 19 | |||
| 13 | #if defined(HEADER_IDEA_H) && !defined(IDEA_INT) | 20 | #if defined(HEADER_IDEA_H) && !defined(IDEA_INT) |
| 14 | #define IDEA_INT unsigned int | 21 | #define IDEA_INT unsigned int |
| 15 | #endif | 22 | #endif |
| @@ -68,13 +75,6 @@ | |||
| 68 | #undef EIGHT_BIT | 75 | #undef EIGHT_BIT |
| 69 | #endif | 76 | #endif |
| 70 | 77 | ||
| 71 | #if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H) | ||
| 72 | #define CONFIG_HEADER_RC4_LOCL_H | ||
| 73 | /* if this is defined data[i] is used instead of *data, this is a %20 | ||
| 74 | * speedup on x86 */ | ||
| 75 | #define RC4_INDEX | ||
| 76 | #endif | ||
| 77 | |||
| 78 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) | 78 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) |
| 79 | #define CONFIG_HEADER_BF_LOCL_H | 79 | #define CONFIG_HEADER_BF_LOCL_H |
| 80 | #undef BF_PTR | 80 | #undef BF_PTR |
