diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-08-04 08:53:53 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-08-04 08:53:53 +0100 |
commit | e3872864be25f7421015bef2732fa57c0c9fb726 (patch) | |
tree | 9cb29a544215119b5c5538e37211b994ce1c87ae /net-vpn/libreswan/files | |
parent | 480486b52ea64765faf696c88b2c6a26a5a454d4 (diff) |
gentoo resync : 04.08.2018
Diffstat (limited to 'net-vpn/libreswan/files')
-rw-r--r-- | net-vpn/libreswan/files/libreswan-3.25-no-curl.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/net-vpn/libreswan/files/libreswan-3.25-no-curl.patch b/net-vpn/libreswan/files/libreswan-3.25-no-curl.patch new file mode 100644 index 000000000000..f23e2f7f227c --- /dev/null +++ b/net-vpn/libreswan/files/libreswan-3.25-no-curl.patch @@ -0,0 +1,25 @@ +From 903f953b271c35f33790bb7ba98b17acfdecede6 Mon Sep 17 00:00:00 2001 +From: Paul Wouters <pwouters@redhat.com> +Date: Sun, 22 Jul 2018 11:37:04 -0700 +Subject: [PATCH] building: only call check_crls() if LIBCURL support is + compiled in + +Noted by Daniel M. Weeks +--- + programs/pluto/timer.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/programs/pluto/timer.c b/programs/pluto/timer.c +index b8a465a91b..4e82e634ea 100644 +--- a/programs/pluto/timer.c ++++ b/programs/pluto/timer.c +@@ -432,7 +432,9 @@ static void timer_event_cb(evutil_socket_t fd UNUSED, const short event UNUSED, + break; + + case EVENT_CHECK_CRLS: ++#ifdef LIBCURL + check_crls(); ++#endif + break; + + case EVENT_v2_RELEASE_WHACK: |