Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jun 2016 18:18:31 +0000 (UTC)
From:      Bernard Spil <brnrd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r416817 - head/sysutils/webjob/files
Message-ID:  <201606121818.u5CIIV6A092822@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brnrd
Date: Sun Jun 12 18:18:31 2016
New Revision: 416817
URL: https://svnweb.freebsd.org/changeset/ports/416817

Log:
  sysutils/webjob: Fix build without SSLv2
  
  PR:		203701
  Sponsored by:	BSDCan 2016

Added:
  head/sysutils/webjob/files/
  head/sysutils/webjob/files/patch-src_ssl.c   (contents, props changed)
  head/sysutils/webjob/files/patch-tools_webjob-dsvtool_ssl.c   (contents, props changed)

Added: head/sysutils/webjob/files/patch-src_ssl.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/webjob/files/patch-src_ssl.c	Sun Jun 12 18:18:31 2016	(r416817)
@@ -0,0 +1,12 @@
+--- src/ssl.c.orig	2012-01-07 07:56:14 UTC
++++ src/ssl.c
+@@ -241,7 +241,8 @@ SslInitializeCTX(SSL_PROPERTIES *psPrope
+    *
+    *********************************************************************
+    */
+-  psProperties->psslCTX = SSL_CTX_new(SSLv3_client_method());
++  psProperties->psslCTX = SSL_CTX_new(SSLv23_client_method());
++  SSL_CTX_set_options(psProperties->psslCTX, SSL_OP_NO_SSL2 );
+   if (psProperties->psslCTX == NULL)
+   {
+     ERR_error_string(ERR_get_error(), acLocalError);

Added: head/sysutils/webjob/files/patch-tools_webjob-dsvtool_ssl.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/webjob/files/patch-tools_webjob-dsvtool_ssl.c	Sun Jun 12 18:18:31 2016	(r416817)
@@ -0,0 +1,12 @@
+--- tools/webjob-dsvtool/ssl.c.orig	2015-10-04 14:04:34 UTC
++++ tools/webjob-dsvtool/ssl.c
+@@ -241,7 +241,8 @@ SslInitializeCTX(SSL_PROPERTIES *psPrope
+    *
+    *********************************************************************
+    */
+-  psProperties->psslCTX = SSL_CTX_new(SSLv3_client_method());
++  psProperties->psslCTX = SSL_CTX_new(SSLv23_client_method());
++  SSL_CTX_set_options(psProperties->psslCTX, SSL_OP_NO_SSL2 );
+   if (psProperties->psslCTX == NULL)
+   {
+     ERR_error_string(ERR_get_error(), acLocalError);



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