From owner-svn-ports-all@freebsd.org Mon Sep 12 15:34:23 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 78847BD85D3; Mon, 12 Sep 2016 15:34:23 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 485AEC6D; Mon, 12 Sep 2016 15:34:23 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u8CFYMoD076529; Mon, 12 Sep 2016 15:34:22 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u8CFYM08076528; Mon, 12 Sep 2016 15:34:22 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201609121534.u8CFYM08076528@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Mon, 12 Sep 2016 15:34:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r421930 - head/net/asterisk/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2016 15:34:23 -0000 Author: marino Date: Mon Sep 12 15:34:22 2016 New Revision: 421930 URL: https://svnweb.freebsd.org/changeset/ports/421930 Log: net/asterisk: Fix build when SSLv3 method is N/A (LibreSSL) Approved by: SSL blanket P.S. Why is this port still in the tree? It expired in April 2016. Added: head/net/asterisk/files/patch-main_tcptls.c (contents, props changed) Added: head/net/asterisk/files/patch-main_tcptls.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/asterisk/files/patch-main_tcptls.c Mon Sep 12 15:34:22 2016 (r421930) @@ -0,0 +1,17 @@ +--- main/tcptls.c.orig 2015-04-08 18:53:07.000000000 +0200 ++++ main/tcptls.c 2015-09-23 21:30:28.092457300 +0200 +@@ -768,10 +768,13 @@ static int __ssl_setup(struct ast_tls_co + cfg->ssl_ctx = SSL_CTX_new(SSLv2_client_method()); + } else + #endif ++#ifndef OPENSSL_NO_SSL3 + if (ast_test_flag(&cfg->flags, AST_SSL_SSLV3_CLIENT)) { + ast_log(LOG_WARNING, "Usage of SSLv3 is discouraged due to known vulnerabilities. Please use 'tlsv1' or leave the TLS method unspecified!\n"); + cfg->ssl_ctx = SSL_CTX_new(SSLv3_client_method()); +- } else if (ast_test_flag(&cfg->flags, AST_SSL_TLSV1_CLIENT)) { ++ } else ++#endif ++ if (ast_test_flag(&cfg->flags, AST_SSL_TLSV1_CLIENT)) { + cfg->ssl_ctx = SSL_CTX_new(TLSv1_client_method()); + } else { + disable_ssl = 1;