aboutsummaryrefslogtreecommitdiffstats
path: root/main/hostapd/libressl-compat.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/hostapd/libressl-compat.patch')
-rw-r--r--main/hostapd/libressl-compat.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/main/hostapd/libressl-compat.patch b/main/hostapd/libressl-compat.patch
deleted file mode 100644
index d7c12bcf6a..0000000000
--- a/main/hostapd/libressl-compat.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff --git a/src/crypto/crypto_openssl.c b/src/crypto/crypto_openssl.c
-index 19e0e2b..b3d1b07 100644
---- a/src/crypto/crypto_openssl.c
-+++ b/src/crypto/crypto_openssl.c
-@@ -611,7 +611,7 @@ void crypto_cipher_deinit(struct crypto_cipher *ctx)
-
- void * dh5_init(struct wpabuf **priv, struct wpabuf **publ)
- {
--#if OPENSSL_VERSION_NUMBER < 0x10100000L
-+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
- DH *dh;
- struct wpabuf *pubkey = NULL, *privkey = NULL;
- size_t publen, privlen;
-@@ -712,7 +712,7 @@ err:
-
- void * dh5_init_fixed(const struct wpabuf *priv, const struct wpabuf *publ)
- {
--#if OPENSSL_VERSION_NUMBER < 0x10100000L
-+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
- DH *dh;
-
- dh = DH_new();