Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 May 2017 22:18:43 +0000 (UTC)
From:      Larry Rosenman <ler@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r440391 - head/net/hostapd/files
Message-ID:  <201705072218.v47MIhC6074417@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ler
Date: Sun May  7 22:18:43 2017
New Revision: 440391
URL: https://svnweb.freebsd.org/changeset/ports/440391

Log:
  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)

Added:
  head/net/hostapd/files/patch-crypto__openssl.c   (contents, props changed)

Added: head/net/hostapd/files/patch-crypto__openssl.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/hostapd/files/patch-crypto__openssl.c	Sun May  7 22:18:43 2017	(r440391)
@@ -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();



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705072218.v47MIhC6074417>