aboutsummaryrefslogtreecommitdiff
path: root/patches/opensslconf.h.patch
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2023-02-15 07:56:44 -0600
committerBrent Cook <busterb@gmail.com>2023-02-15 07:56:44 -0600
commit3c7747fd8bcaaf2eb2f901c34d573bae52fea0c5 (patch)
tree99051bae4bb93a8e36f9560dc39f0b85d52b3f6f /patches/opensslconf.h.patch
parent20fb2bdb1197008f46c080b8539084c69b7a8c92 (diff)
downloadportable-3c7747fd8bcaaf2eb2f901c34d573bae52fea0c5.tar.gz
portable-3c7747fd8bcaaf2eb2f901c34d573bae52fea0c5.tar.bz2
portable-3c7747fd8bcaaf2eb2f901c34d573bae52fea0c5.zip
generate opensslconf.h based on host cpu architecture
Diffstat (limited to 'patches/opensslconf.h.patch')
-rw-r--r--patches/opensslconf.h.patch24
1 files changed, 0 insertions, 24 deletions
diff --git a/patches/opensslconf.h.patch b/patches/opensslconf.h.patch
deleted file mode 100644
index ee5d645..0000000
--- a/patches/opensslconf.h.patch
+++ /dev/null
@@ -1,24 +0,0 @@
1--- include/openssl/opensslconf.h.orig Tue Nov 22 21:08:27 2022
2+++ include/openssl/opensslconf.h Wed Nov 23 12:38:07 2022
3@@ -1,6 +1,21 @@
4 #include <openssl/opensslfeatures.h>
5 /* crypto/opensslconf.h.in */
6
7+#if defined(_MSC_VER) && !defined(__clang__) && !defined(__attribute__)
8+#define __attribute__(a)
9+#endif
10+
11+#if defined(LIBRESSL_INTERNAL) && !defined(LIBRESSL_NAMESPACE)
12+# define LCRYPTO_UNUSED(x)
13+# define LCRYPTO_USED(x)
14+# define LCRYPTO_ALIAS1(pre, x)
15+# define LCRYPTO_ALIAS(x)
16+
17+# define LSSL_UNUSED(x)
18+# define LSSL_USED(x)
19+# define LSSL_ALIAS(x)
20+#endif /* LIBRESSL_INTERNAL && !LIBRESSL_NAMESPACE */
21+
22 #if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR)
23 #define OPENSSLDIR "/etc/ssl"
24 #endif