mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-04 02:08:49 -04:00
16 lines
467 B
C
16 lines
467 B
C
$NetBSD: patch-vio_viossl.c,v 1.1 2013/08/04 10:20:24 adam Exp $
|
|
|
|
Compatibility fix.
|
|
|
|
--- vio/viossl.c.orig 2013-07-11 13:39:36.000000000 +0000
|
|
+++ vio/viossl.c
|
|
@@ -198,7 +198,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, vio->sd);
|
|
-#ifndef HAVE_YASSL
|
|
+#if !defined(HAVE_YASSL) && defined(SSL_OP_NO_COMPRESSION)
|
|
SSL_set_options(ssl, SSL_OP_NO_COMPRESSION);
|
|
#endif
|
|
|