FreeBSD Bugzilla – Attachment 192072 Details for
Bug 227172
net/hostapd: Fix build with LibreSSL 2.7
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
svn diff for net/h
patch-net_hostapd-LibreSSL2.7 (text/plain), 2.34 KB, created by
Bernard Spil
on 2018-04-01 19:28:33 UTC
(
hide
)
Description:
svn diff for net/h
Filename:
MIME Type:
Creator:
Bernard Spil
Created:
2018-04-01 19:28:33 UTC
Size:
2.34 KB
patch
obsolete
>Index: net/hostapd/files/patch-crypto__openssl.c >=================================================================== >--- net/hostapd/files/patch-crypto__openssl.c (revision 465230) >+++ net/hostapd/files/patch-crypto__openssl.c (working copy) >@@ -1,7 +1,17 @@ >---- src/crypto/crypto_openssl.c.orig 2017-04-21 20:53:34 UTC >+--- src/crypto/crypto_openssl.c.orig 2016-10-02 18:51:11 UTC > +++ src/crypto/crypto_openssl.c >-@@ -611,7 +611,7 @@ void crypto_cipher_deinit(struct crypto_ >+@@ -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 >@@ -9,7 +19,7 @@ > DH *dh; > struct wpabuf *pubkey = NULL, *privkey = NULL; > size_t publen, privlen; >-@@ -712,7 +712,7 @@ err: >+@@ -712,7 +713,7 @@ err: > > void * dh5_init_fixed(const struct wpabuf *priv, const struct wpabuf *publ) > { >Index: net/hostapd/files/patch-src_crypto_tls__openssl.c >=================================================================== >--- net/hostapd/files/patch-src_crypto_tls__openssl.c (nonexistent) >+++ net/hostapd/files/patch-src_crypto_tls__openssl.c (working copy) >@@ -0,0 +1,11 @@ >+--- src/crypto/tls_openssl.c.orig 2016-10-02 18:51:11 UTC >++++ src/crypto/tls_openssl.c >+@@ -59,7 +59,7 @@ typedef int stack_index_t; >+ #endif /* SSL_set_tlsext_status_type */ >+ >+ #if (OPENSSL_VERSION_NUMBER < 0x10100000L || \ >+- defined(LIBRESSL_VERSION_NUMBER)) && \ >++ (defined(LIBRESSL_VERSION_NUMBER)) && LIBRESSL_VERSION_NUMBER < 0x20700000L) && \ >+ !defined(BORINGSSL_API_VERSION) >+ /* >+ * SSL_get_client_random() and SSL_get_server_random() were added in OpenSSL > >Property changes on: net/hostapd/files/patch-src_crypto_tls__openssl.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 227172
: 192072