parent
7820ed2476
commit
849bca6008
@ -1,4 +1,4 @@
|
||||
SOURCES/ikev1_dsa.fax.bz2
|
||||
SOURCES/ikev1_psk.fax.bz2
|
||||
SOURCES/ikev2.fax.bz2
|
||||
SOURCES/libreswan-4.6.tar.gz
|
||||
SOURCES/libreswan-4.9.tar.gz
|
||||
|
@ -1,4 +1,4 @@
|
||||
b35cd50b8bc0a08b9c07713bf19c72d53bfe66bb SOURCES/ikev1_dsa.fax.bz2
|
||||
861d97bf488f9e296cad8c43ab72f111a5b1a848 SOURCES/ikev1_psk.fax.bz2
|
||||
fcaf77f3deae3d8e99cdb3b1f8abea63167a0633 SOURCES/ikev2.fax.bz2
|
||||
8df902f58f9341d45b4b529b73126bf654764934 SOURCES/libreswan-4.6.tar.gz
|
||||
12b7351ca7e6ba1ac787239e67027a4d82f02f10 SOURCES/libreswan-4.9.tar.gz
|
||||
|
@ -1,52 +0,0 @@
|
||||
From 0212bc6a7c0ac3aa5d8da82bf22132993d339ffc Mon Sep 17 00:00:00 2001
|
||||
From: Paul Wouters <paul.wouters@aiven.io>
|
||||
Date: Thu, 13 Jan 2022 15:31:50 -0500
|
||||
Subject: [PATCH] building: fix fedora rawhide build
|
||||
|
||||
Avoid clashing openssl/nss headers
|
||||
|
||||
Patch based on work by Daiki Ueno <dueno@redhat.com>
|
||||
|
||||
Resolves: https://github.com/libreswan/libreswan/pull/611
|
||||
---
|
||||
programs/pluto/ikev2_ipseckey.h | 4 ++--
|
||||
programs/pluto/ikev2_ipseckey_dnsr.c | 4 +++-
|
||||
2 files changed, 5 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/programs/pluto/ikev2_ipseckey.h b/programs/pluto/ikev2_ipseckey.h
|
||||
index 243e5b1776..5ef3f966ec 100644
|
||||
--- a/programs/pluto/ikev2_ipseckey.h
|
||||
+++ b/programs/pluto/ikev2_ipseckey.h
|
||||
@@ -1,5 +1,3 @@
|
||||
-#include "state.h"
|
||||
-
|
||||
#ifndef _IKEV2_IPSECKEY_H
|
||||
#define _IKEV2_IPSECKEY_H
|
||||
|
||||
@@ -11,6 +9,8 @@
|
||||
|
||||
#define IS_LIBUNBOUND LSW_LIBUNBOUND_ENABLED
|
||||
|
||||
+struct ike_sa;
|
||||
+
|
||||
typedef enum {
|
||||
DNS_OK = STF_OK,
|
||||
DNS_FATAL = STF_FATAL,
|
||||
diff --git a/programs/pluto/ikev2_ipseckey_dnsr.c b/programs/pluto/ikev2_ipseckey_dnsr.c
|
||||
index b07ed72f2b..09767bf65d 100644
|
||||
--- a/programs/pluto/ikev2_ipseckey_dnsr.c
|
||||
+++ b/programs/pluto/ikev2_ipseckey_dnsr.c
|
||||
@@ -32,7 +32,9 @@
|
||||
#include "dnssec.h" /* includes unbound.h */
|
||||
#include "ikev2_ipseckey.h" /* for dns_status */
|
||||
#include "ikev2_ipseckey_dnsr.h"
|
||||
-#include "secrets.h"
|
||||
+
|
||||
+/* Do not include secrets.h as it will cause conflicts via NSS/OPENSSL headers */
|
||||
+extern const struct pubkey_type pubkey_type_rsa;
|
||||
|
||||
struct p_dns_req *pluto_dns_list = NULL; /* DNS queries linked list */
|
||||
|
||||
--
|
||||
2.31.1
|
||||
|
Loading…
Reference in new issue