aboutsummaryrefslogtreecommitdiffstats
path: root/main/hostapd/libressl-compat.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-04-03 15:13:41 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-04-06 05:19:22 +0000
commitd1d940636b26b200f991e48525737fd511f271d3 (patch)
tree520870163f757e819aaa33608ed8caf13718c4c4 /main/hostapd/libressl-compat.patch
parent8706a484396985e5b19eed2c6f757c7726fa7f79 (diff)
downloadaports-d1d940636b26b200f991e48525737fd511f271d3.tar.bz2
aports-d1d940636b26b200f991e48525737fd511f271d3.tar.xz
main/hostapd: rebuild against libressl-2.7
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();