Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 425092 Details for
Bug 574294
net-misc/openvpn-2.3.10: Fix build with libressl
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
2.3.10-Fix-build-with-libressl.patch
2.3.10-Fix-build-with-libressl.patch (text/plain), 1.32 KB, created by
Marek BehĂșn
on 2016-02-09 20:45:19 UTC
(
hide
)
Description:
2.3.10-Fix-build-with-libressl.patch
Filename:
MIME Type:
Creator:
Marek BehĂșn
Created:
2016-02-09 20:45:19 UTC
Size:
1.32 KB
patch
obsolete
>From 9dfc2309c6b4143892137844197f5f84755f6580 Mon Sep 17 00:00:00 2001 >From: Niels Ole Salscheider <niels_ole@salscheider-online.de> >Date: Sun, 10 Jan 2016 14:44:35 +0100 >Subject: [PATCH] Fix build with libressl > >Signed-off-by: Niels Ole Salscheider <niels_ole@salscheider-online.de> >Acked-by: Steffan Karger <steffan.karger@fox-it.com> >Message-Id: <1452433475-16779-1-git-send-email-niels_ole@salscheider-online.de> >URL: http://article.gmane.org/gmane.network.openvpn.devel/10975 >Signed-off-by: Gert Doering <gert@greenie.muc.de> >--- > src/openvpn/ssl_openssl.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/src/openvpn/ssl_openssl.c b/src/openvpn/ssl_openssl.c >index d2f40e7..e390f4d 100644 >--- a/src/openvpn/ssl_openssl.c >+++ b/src/openvpn/ssl_openssl.c >@@ -358,7 +358,7 @@ tls_ctx_check_cert_time (const struct tls_root_ctx *ctx) > > ASSERT (ctx); > >-#if OPENSSL_VERSION_NUMBER >= 0x10002000L >+#if OPENSSL_VERSION_NUMBER >= 0x10002000L && !defined(LIBRESSL_VERSION_NUMBER) > /* OpenSSL 1.0.2 and up */ > cert = SSL_CTX_get0_certificate (ctx->ctx); > #else >@@ -393,7 +393,7 @@ tls_ctx_check_cert_time (const struct tls_root_ctx *ctx) > } > > cleanup: >-#if OPENSSL_VERSION_NUMBER < 0x10002000L >+#if OPENSSL_VERSION_NUMBER < 0x10002000L || defined(LIBRESSL_VERSION_NUMBER) > SSL_free (ssl); > #endif > return; >-- >2.4.10 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 574294
:
425090
| 425092