View | Details | Raw Unified | Return to bug 231115
Collapse All | Expand All

(-)www/squid/files/patch-src_ssl_bio.cc (+16 lines)
Line 0 Link Here
1
Fix build with LibreSSL
2
3
--- src/ssl/bio.cc.orig	2018-07-02 03:26:07 UTC
4
+++ src/ssl/bio.cc
5
@@ -76,7 +76,11 @@ Ssl::Bio::Create(const int fd, Security:
6
         BIO_meth_set_create(SquidMethods, squid_bio_create);
7
         BIO_meth_set_destroy(SquidMethods, squid_bio_destroy);
8
     }
9
+#ifdef LIBRESSL_VERSION_NUMBER
10
+    BIO_METHOD *useMethod = SquidMethods;
11
+#else
12
     const BIO_METHOD *useMethod = SquidMethods;
13
+#endif
14
 #else
15
     BIO_METHOD *useMethod = &SquidMethods;
16
 #endif

Return to bug 231115