From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 572BA1396D0 for ; Fri, 22 Sep 2017 14:01:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8CA871FC17E; Fri, 22 Sep 2017 14:01:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 68F171FC17D for ; Fri, 22 Sep 2017 14:01:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 34A00340AC7 for ; Fri, 22 Sep 2017 14:01:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A202D8F9D for ; Fri, 22 Sep 2017 14:01:08 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1506088633.7ac71c23e9da3c5bf8e5481e4e9b8015fa987cab.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-vpn/openvpn/files/openvpn-2.4.0-fix-libressl.patch net-vpn/openvpn/files/openvpn.tmpfile X-VCS-Directories: net-vpn/openvpn/files/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: 7ac71c23e9da3c5bf8e5481e4e9b8015fa987cab X-VCS-Branch: master Date: Fri, 22 Sep 2017 14:01:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b57e0cbd-8f9a-43df-b5d7-abb03410be6c X-Archives-Hash: d943965c8ec789526edeab996775c34f commit: 7ac71c23e9da3c5bf8e5481e4e9b8015fa987cab Author: Michael Mair-Keimberger gmail com> AuthorDate: Wed Sep 20 12:35:25 2017 +0000 Commit: Patrice Clement gentoo org> CommitDate: Fri Sep 22 13:57:13 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ac71c23 net-vpn/openvpn: remove unused patch/file. Closes: https://github.com/gentoo/gentoo/pull/5736 .../openvpn/files/openvpn-2.4.0-fix-libressl.patch | 21 --------------------- net-vpn/openvpn/files/openvpn.tmpfile | 1 - 2 files changed, 22 deletions(-) diff --git a/net-vpn/openvpn/files/openvpn-2.4.0-fix-libressl.patch b/net-vpn/openvpn/files/openvpn-2.4.0-fix-libressl.patch deleted file mode 100644 index 4c3aca5d5a9..00000000000 --- a/net-vpn/openvpn/files/openvpn-2.4.0-fix-libressl.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff --git a/src/openvpn/ssl_openssl.c b/src/openvpn/ssl_openssl.c -index 8266595..a889332 100644 ---- a/src/openvpn/ssl_openssl.c -+++ b/src/openvpn/ssl_openssl.c -@@ -508,10 +508,13 @@ tls_ctx_load_ecdh_params(struct tls_root_ctx *ctx, const char *curve_name - const EC_GROUP *ecgrp = NULL; - EVP_PKEY *pkey = NULL; - -- /* Little hack to get private key ref from SSL_CTX, yay OpenSSL... */ -- SSL ssl; -- ssl.cert = ctx->ctx->cert; -- pkey = SSL_get_privatekey(&ssl); -+ SSL *ssl = SSL_new(ctx->ctx); -+ if (!ssl) -+ { -+ crypto_msg(M_FATAL, "SSL_new failed"); -+ } -+ pkey = SSL_get_privatekey(ssl); -+ SSL_free(ssl); - - msg(D_TLS_DEBUG, "Extracting ECDH curve from private key"); diff --git a/net-vpn/openvpn/files/openvpn.tmpfile b/net-vpn/openvpn/files/openvpn.tmpfile deleted file mode 100644 index d5fca71a00a..00000000000 --- a/net-vpn/openvpn/files/openvpn.tmpfile +++ /dev/null @@ -1 +0,0 @@ -D /var/run/openvpn 0710 root openvpn -