diff options
author | Larry Rosenman <ler@FreeBSD.org> | 2017-05-07 22:18:43 +0000 |
---|---|---|
committer | Larry Rosenman <ler@FreeBSD.org> | 2017-05-07 22:18:43 +0000 |
commit | 30ff2714435fb18d5fbbeb65d4815e095c3c6029 (patch) | |
tree | 590a6e9286d7aa1bd3205341542984b31a7a34b1 /net/hostapd | |
parent | 02ff3cf840226bf6f9d5372161da4323c5db033b (diff) | |
download | ports-30ff2714435fb18d5fbbeb65d4815e095c3c6029.tar.gz ports-30ff2714435fb18d5fbbeb65d4815e095c3c6029.zip |
net/hostapd fails to compile with libressl
Not bumping PORTREVISION as default options are NOT libressl
PR: 218802
Submitted by: w.schwarzenfeld@utanet.at
Approved by: adamw (mentor, implicit), leres@ee.lbl.gov (maintainer)
Notes
Notes:
svn path=/head/; revision=440391
Diffstat (limited to 'net/hostapd')
-rw-r--r-- | net/hostapd/files/patch-crypto__openssl.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/net/hostapd/files/patch-crypto__openssl.c b/net/hostapd/files/patch-crypto__openssl.c new file mode 100644 index 000000000000..1b20dddd403a --- /dev/null +++ b/net/hostapd/files/patch-crypto__openssl.c @@ -0,0 +1,20 @@ +--- src/crypto/crypto_openssl.c.orig 2017-04-21 20:53:34 UTC ++++ src/crypto/crypto_openssl.c +@@ -611,7 +611,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 +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(); |