diff options
Diffstat (limited to 'net/hostapd/files/patch-crypto__openssl.c')
-rw-r--r-- | net/hostapd/files/patch-crypto__openssl.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/net/hostapd/files/patch-crypto__openssl.c b/net/hostapd/files/patch-crypto__openssl.c deleted file mode 100644 index 213c648ed07c..000000000000 --- a/net/hostapd/files/patch-crypto__openssl.c +++ /dev/null @@ -1,30 +0,0 @@ ---- src/crypto/crypto_openssl.c.orig 2016-10-02 18:51:11 UTC -+++ src/crypto/crypto_openssl.c -@@ -33,7 +33,8 @@ - #include "aes_wrap.h" - #include "crypto.h" - --#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || \ -+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L) - /* Compatibility wrappers for older versions. */ - - static HMAC_CTX * HMAC_CTX_new(void) -@@ -611,7 +612,7 @@ void crypto_cipher_deinit(struct crypto_ - - 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 +713,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(); |