svn commit: r376786 - head/www/libwww/files

Tijl Coosemans tijl at FreeBSD.org
Sun Jan 11 14:21:41 UTC 2015


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;


More information about the svn-ports-all mailing list