Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jan 2015 16:44:42 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r376624 - head/ftp/pavuk/files
Message-ID:  <201501091644.t09GigSp058215@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Fri Jan  9 16:44:41 2015
New Revision: 376624
URL: https://svnweb.freebsd.org/changeset/ports/376624
QAT: https://qat.redports.org/buildarchive/r376624/

Log:
  Fix build when OpenSSL does have SSL2/SSL3 support
  
  PR:		195796

Added:
  head/ftp/pavuk/files/
  head/ftp/pavuk/files/patch-src-myssl_openssl.c   (contents, props changed)

Added: head/ftp/pavuk/files/patch-src-myssl_openssl.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/ftp/pavuk/files/patch-src-myssl_openssl.c	Fri Jan  9 16:44:41 2015	(r376624)
@@ -0,0 +1,19 @@
+--- src/myssl_openssl.c.orig	2005-08-15 08:59:30 UTC
++++ src/myssl_openssl.c
+@@ -543,12 +543,16 @@ bufio *my_ssl_do_connect(doc * docp, buf
+ 
+   switch (cfg.ssl_version)
+   {
++#ifndef OPENSSL_NO_SSL2
+   case 2:
+     method = SSLv2_client_method();
+     break;
++#endif
++#ifndef OPENSSL_NO_SSL3_METHOD
+   case 3:
+     method = SSLv3_client_method();
+     break;
++#endif
+ #ifdef WITH_SSL_TLS1
+   case 4:
+     method = TLSv1_client_method();



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501091644.t09GigSp058215>