summaryrefslogtreecommitdiff
path: root/package/socat/patches/patch-sslcls_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-12-29 23:42:54 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-12-29 23:43:04 +0100
commitac312feacd492d85718493ced849fe6318e2c1e2 (patch)
tree1f1a8f76e1548e990c8653ec431dd43a72106df6 /package/socat/patches/patch-sslcls_h
parent102c11bb821d18d30b41bbbf73e713d09fb1ee54 (diff)
socat: fix compile with libressl
Diffstat (limited to 'package/socat/patches/patch-sslcls_h')
-rw-r--r--package/socat/patches/patch-sslcls_h11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/socat/patches/patch-sslcls_h b/package/socat/patches/patch-sslcls_h
new file mode 100644
index 000000000..ae7e9ba84
--- /dev/null
+++ b/package/socat/patches/patch-sslcls_h
@@ -0,0 +1,11 @@
+--- socat-1.7.3.0.orig/sslcls.h 2015-01-24 11:15:22.000000000 +0100
++++ socat-1.7.3.0/sslcls.h 2015-12-29 23:11:35.000000000 +0100
+@@ -55,7 +55,7 @@ BIO *sycBIO_new_file(const char *filenam
+
+ int sycFIPS_mode_set(int onoff);
+
+-#if OPENSSL_VERSION_NUMBER >= 0x00908000L
++#if !defined(OPENSSL_NO_COMP)
+ const COMP_METHOD *sycSSL_get_current_compression(SSL *ssl);
+ const COMP_METHOD *sycSSL_get_current_expansion(SSL *ssl);
+ const char *sycSSL_COMP_get_name(const COMP_METHOD *comp);