hostapd: backport build fix when OWE is activated
[openwrt/openwrt.git] / package / network / services / hostapd / patches / 700-fix-openssl11.patch
index 918cab0899e7f2d4dc949d88cded38af7022b7ae..86343c150bb4ff1374897c1d8e778d46bd8d41c2 100644 (file)
@@ -11,11 +11,9 @@ Signed-off-by: Rosen Penev <rosenp@gmail.com>
  src/crypto/tls_openssl.c | 4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)
 
-diff --git a/src/crypto/tls_openssl.c b/src/crypto/tls_openssl.c
-index b4bfc9b73..79ac909d0 100644
 --- a/src/crypto/tls_openssl.c
 +++ b/src/crypto/tls_openssl.c
-@@ -1024,8 +1024,10 @@ void * tls_init(const struct tls_config *conf)
+@@ -1024,8 +1024,10 @@ void * tls_init(const struct tls_config
  
  #ifndef OPENSSL_NO_ENGINE
        wpa_printf(MSG_DEBUG, "ENGINE: Loading dynamic engine");
@@ -26,7 +24,7 @@ index b4bfc9b73..79ac909d0 100644
  
        if (conf &&
            (conf->opensc_engine_path || conf->pkcs11_engine_path ||
-@@ -3874,7 +3876,7 @@ struct wpabuf * tls_connection_decrypt(void *tls_ctx,
+@@ -3874,7 +3876,7 @@ struct wpabuf * tls_connection_decrypt(v
  
  int tls_connection_resumed(void *ssl_ctx, struct tls_connection *conn)
  {
@@ -35,6 +33,3 @@ index b4bfc9b73..79ac909d0 100644
  }
  
  
--- 
-2.17.1
-