Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Mar 2015 19:00:18 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r382620 - head/devel/ace/files
Message-ID:  <201503291900.t2TJ0Igx074258@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Sun Mar 29 19:00:17 2015
New Revision: 382620
URL: https://svnweb.freebsd.org/changeset/ports/382620
QAT: https://qat.redports.org/buildarchive/r382620/

Log:
  devel/ace: Make EGD conditional/Fix build with LibreSSL
  
  PR:		198776
  Submitted by:	Bernard Spil <spil.oss@gmail.com>

Modified:
  head/devel/ace/files/patch-ace__SSL__SSL_Context.cpp

Modified: head/devel/ace/files/patch-ace__SSL__SSL_Context.cpp
==============================================================================
--- head/devel/ace/files/patch-ace__SSL__SSL_Context.cpp	Sun Mar 29 18:10:37 2015	(r382619)
+++ head/devel/ace/files/patch-ace__SSL__SSL_Context.cpp	Sun Mar 29 19:00:17 2015	(r382620)
@@ -1,6 +1,6 @@
---- ace/SSL/SSL_Context.cpp.orig
+--- ace/SSL/SSL_Context.cpp.orig	2014-12-29 10:41:20 UTC
 +++ ace/SSL/SSL_Context.cpp
-@@ -274,7 +274,7 @@
+@@ -274,7 +274,7 @@ ACE_SSL_Context::set_mode (int mode)
      case ACE_SSL_Context::TLSv1:
        method = ::TLSv1_method ();
        break;
@@ -9,7 +9,7 @@
      case ACE_SSL_Context::TLSv1_1_client:
        method = ::TLSv1_1_client_method ();
        break;
-@@ -285,7 +285,7 @@
+@@ -285,7 +285,7 @@ ACE_SSL_Context::set_mode (int mode)
        method = ::TLSv1_1_method ();
        break;
  #endif
@@ -18,3 +18,12 @@
      case ACE_SSL_Context::TLSv1_2_client:
        method = ::TLSv1_2_client_method ();
        break;
+@@ -556,7 +556,7 @@ ACE_SSL_Context::random_seed (const char
+ int
+ ACE_SSL_Context::egd_file (const char * socket_file)
+ {
+-#if OPENSSL_VERSION_NUMBER < 0x00905100L
++#if OPENSSL_VERSION_NUMBER < 0x00905100L || defined(LIBRESSL_VERSION_NUMBER)
+   // OpenSSL < 0.9.5 doesn't have EGD support.
+   ACE_UNUSED_ARG (socket_file);
+   ACE_NOTSUP_RETURN (-1);



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