diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2017-09-20 14:35:25 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2017-09-22 15:57:13 +0200 |
commit | 7ac71c23e9da3c5bf8e5481e4e9b8015fa987cab (patch) | |
tree | 44107e194e72989e4abc45ae6d68df55190e97a2 /net-vpn | |
parent | dev-python/tempora: version bump to 1.9. (diff) | |
download | gentoo-7ac71c23e9da3c5bf8e5481e4e9b8015fa987cab.tar.gz gentoo-7ac71c23e9da3c5bf8e5481e4e9b8015fa987cab.tar.bz2 gentoo-7ac71c23e9da3c5bf8e5481e4e9b8015fa987cab.zip |
net-vpn/openvpn: remove unused patch/file.
Closes: https://github.com/gentoo/gentoo/pull/5736
Diffstat (limited to 'net-vpn')
-rw-r--r-- | net-vpn/openvpn/files/openvpn-2.4.0-fix-libressl.patch | 21 | ||||
-rw-r--r-- | net-vpn/openvpn/files/openvpn.tmpfile | 1 |
2 files changed, 0 insertions, 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 4c3aca5d5a92..000000000000 --- 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 d5fca71a00a0..000000000000 --- a/net-vpn/openvpn/files/openvpn.tmpfile +++ /dev/null @@ -1 +0,0 @@ -D /var/run/openvpn 0710 root openvpn - |