pkgsrc/databases/mysql55-client/patches/patch-vio_viossl.c
adam e1abd6b513 Changes 5.5.31:
MySQL no longer uses the default OpenSSL compression.
Bug fixes.
2013-04-20 08:06:56 +00:00

15 lines
467 B
C

$NetBSD: patch-vio_viossl.c,v 1.1 2013/04/20 08:06:56 adam Exp $
Compatibility fix.
--- vio/viossl.c.orig 2013-04-20 07:00:23.000000000 +0000
+++ vio/viossl.c
@@ -171,7 +171,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