forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-admin/conserver: backport libressl patch to 8.2.3
does not affect openssl users, hence no rebvump Bug: https://bugs.gentoo.org/687542 Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: Georgy Yakovlev <[email protected]>
- Loading branch information
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
From f4d2a4a30f930c58bf87511f7ed1a982eca66ce3 Mon Sep 17 00:00:00 2001 | ||
From: Georgy Yakovlev <[email protected]> | ||
Date: Thu, 6 Jun 2019 21:30:16 -0700 | ||
Subject: [PATCH] libressl | ||
|
||
backport of https://github.com/conserver/conserver/pull/26 | ||
--- | ||
conserver/cutil.h | 4 +++- | ||
1 file changed, 3 insertions(+), 1 deletion(-) | ||
|
||
diff --git a/conserver/cutil.h b/conserver/cutil.h | ||
index 63aef65..07aa6d4 100644 | ||
--- a/conserver/cutil.h | ||
+++ b/conserver/cutil.h | ||
@@ -12,10 +12,12 @@ | ||
# include <openssl/err.h> | ||
# if OPENSSL_VERSION_NUMBER < 0x10100000L | ||
# define TLS_method SSLv23_method | ||
+# endif/* OPENSSL_VERSION_NUMBER < 0x10100000L */ | ||
+# if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER) | ||
# define CIPHER_SEC0 | ||
# else | ||
# define CIPHER_SEC0 ":@SECLEVEL=0" | ||
-# endif /* OPENSSL_VERSION_NUMBER < 0x10100000L */ | ||
+# endif/* OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) */ | ||
#endif | ||
#if HAVE_GSSAPI | ||
# include <gssapi/gssapi.h> | ||
-- | ||
2.21.0 | ||
|