pkgsrc/net/proftpd/patches/patch-contrib_mod_tls.c
adam 2addb25bb0 Changes 1.3.3f:
* Fixes segfault if mod_sql_mysql and "SQLAuthenticate groupsetfast"
  configuration used.
* Fixes mod_wrap syslog level (regression from Bug 3317).
* Fixes mod_ifsession segfault if regular expression patterns used in
  a <VirtualHost> section.
2011-10-03 11:23:31 +00:00

13 lines
584 B
C

$NetBSD: patch-contrib_mod_tls.c,v 1.2 2011/10/03 11:23:31 adam Exp $
--- contrib/mod_tls.c.orig 2011-03-25 13:53:45.000000000 +0000
+++ contrib/mod_tls.c
@@ -7235,7 +7235,7 @@ static int tls_sess_init(void) {
if (opts != NULL)
tls_opts = *opts;
-#if OPENSSL_VERSION_NUMBER > 0x009080cfL
+#if OPENSSL_VERSION_NUMBER > 0x009080cfL && OPENSSL_VERSION_NUMBER != 0x00909000L
/* The OpenSSL team realized that the flag added in 0.9.8l, the
* SSL3_FLAGS_ALLOW_UNSAFE_LEGACY_RENEGOTIATION flag, was a bad idea.
* So in later versions, it was changed to a context flag,