Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jan 2015 14:21:40 +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: r376786 - head/www/libwww/files
Message-ID:  <201501111421.t0BELe07054173@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Sun Jan 11 14:21:40 2015
New Revision: 376786
URL: https://svnweb.freebsd.org/changeset/ports/376786
QAT: https://qat.redports.org/buildarchive/r376786/

Log:
  Fix build when OpenSSL doesn't support SSL2/SSL3
  
  PR:		195796

Added:
  head/www/libwww/files/patch-Library_src_SSL_HTSSL.c   (contents, props changed)

Added: head/www/libwww/files/patch-Library_src_SSL_HTSSL.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/libwww/files/patch-Library_src_SSL_HTSSL.c	Sun Jan 11 14:21:40 2015	(r376786)
@@ -0,0 +1,19 @@
+--- Library/src/SSL/HTSSL.c.orig	2000-08-03 16:17:20 UTC
++++ Library/src/SSL/HTSSL.c
+@@ -187,12 +187,16 @@ PUBLIC BOOL HTSSL_init (void)
+ 
+ 	/* select the protocol method */
+ 	switch (ssl_prot_method) {
++#ifndef OPENSSL_NO_SSL2
+ 	case HTSSL_V2:
+ 	  meth = SSLv2_client_method();
+ 	  break;
++#endif
++#ifndef OPENSSL_NO_SSL3_METHOD
+ 	case HTSSL_V3:
+ 	  meth = SSLv3_client_method();
+ 	  break;
++#endif
+ 	case HTSSL_V23:
+ 	  meth = SSLv23_client_method();
+ 	  break;



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