Import of pkgsrc-2015Q3
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
$NetBSD: patch-vio_viossl.c,v 1.1.1.1 2014/12/01 05:58:03 jnemeth Exp $
|
||||
|
||||
Compatibility fix.
|
||||
|
||||
--- vio/viossl.c.orig 2013-04-05 12:27:17.000000000 +0000
|
||||
+++ vio/viossl.c
|
||||
@@ -391,7 +391,7 @@ static int ssl_do(struct st_VioSSLFd *pt
|
||||
SSL_clear(ssl);
|
||||
SSL_SESSION_set_timeout(SSL_get_session(ssl), timeout);
|
||||
SSL_set_fd(ssl, sd);
|
||||
-#ifndef HAVE_YASSL
|
||||
+#if !defined(HAVE_YASSL) && defined(SSL_OP_NO_COMPRESSION)
|
||||
SSL_set_options(ssl, SSL_OP_NO_COMPRESSION);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user