Looks like this patch has been forgotten

This commit is contained in:
adam 2013-04-28 19:24:44 +00:00
parent 91f10a6351
commit 1b8e557ed0

View file

@ -0,0 +1,15 @@
$NetBSD: patch-vio_viossl.c,v 1.1 2013/04/28 19:24:44 adam Exp $
Compatibility fix.
--- vio/viossl.c.orig 2013-04-05 12:27:17.000000000 +0000
+++ vio/viossl.c
@@ -327,7 +327,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