Last active
August 8, 2016 20:31
-
-
Save Lochnair/bfdb93a965fdf3b2fc599e6ca4493290 to your computer and use it in GitHub Desktop.
Patch to enable SSL in Ubuntu Squid package
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r -U2 squid3-3.5.12-orig/debian/rules squid3-3.5.12/debian/rules | |
--- squid3-3.5.12-orig/debian/rules 2016-08-08 22:30:31.461962394 +0200 | |
+++ squid3-3.5.12/debian/rules 2016-08-08 22:30:57.034275275 +0200 | |
@@ -23,4 +23,6 @@ | |
--enable-inline \ | |
--disable-arch-native \ | |
+ --enable-ssl \ | |
+ --enable-ssl-crtd \ | |
--enable-async-io=8 \ | |
--enable-storeio="ufs,aufs,diskd,rock" \ | |
@@ -47,5 +49,6 @@ | |
--with-filedescriptors=65536 \ | |
--with-large-files \ | |
- --with-default-user=proxy | |
+ --with-default-user=proxy \ | |
+ --with-openssl | |
BUILDINFO := $(shell lsb_release -si 2>/dev/null) | |
diff -r -U2 squid3-3.5.12-orig/src/ssl/gadgets.cc squid3-3.5.12/src/ssl/gadgets.cc | |
--- squid3-3.5.12-orig/src/ssl/gadgets.cc 2016-08-08 22:30:31.585963908 +0200 | |
+++ squid3-3.5.12/src/ssl/gadgets.cc 2016-08-08 22:31:15.758505434 +0200 | |
@@ -274,5 +274,5 @@ | |
{ | |
static int extensions[]= { | |
- NID_key_usage, | |
+ //NID_key_usage, | |
NID_ext_key_usage, | |
NID_basic_constraints, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment