26 lines
1.0 KiB
Diff
26 lines
1.0 KiB
Diff
|
diff -Naur libreswan-3.32-orig/lib/libipsecconf/starterwhack.c libreswan-3.32/lib/libipsecconf/starterwhack.c
|
||
|
--- libreswan-3.32-orig/lib/libipsecconf/starterwhack.c 2020-05-11 10:13:41.000000000 -0400
|
||
|
+++ libreswan-3.32/lib/libipsecconf/starterwhack.c 2020-09-24 10:01:14.275131341 -0400
|
||
|
@@ -663,7 +663,7 @@
|
||
|
#endif
|
||
|
|
||
|
#ifdef HAVE_LABELED_IPSEC
|
||
|
- if (conn->options_set[KSCF_POLICY_LABEL]) {
|
||
|
+ if (conn->strings_set[KSCF_POLICY_LABEL]) {
|
||
|
msg.policy_label = conn->policy_label;
|
||
|
starter_log(LOG_LEVEL_DEBUG, "conn: \"%s\" policy_label=%s",
|
||
|
conn->name, msg.policy_label);
|
||
|
diff -Naur libreswan-3.32-orig/programs/pluto/ikev1_spdb_struct.c libreswan-3.32/programs/pluto/ikev1_spdb_struct.c
|
||
|
--- libreswan-3.32-orig/programs/pluto/ikev1_spdb_struct.c 2020-05-11 10:13:41.000000000 -0400
|
||
|
+++ libreswan-3.32/programs/pluto/ikev1_spdb_struct.c 2020-09-24 10:01:31.996278599 -0400
|
||
|
@@ -59,8 +59,7 @@
|
||
|
#include "nat_traversal.h"
|
||
|
|
||
|
|
||
|
-#ifndef USE_LABELED_IPSEC
|
||
|
-
|
||
|
+#ifndef HAVE_LABELED_IPSEC
|
||
|
static bool parse_secctx_attr(pb_stream *pbs UNUSED, struct state *st UNUSED)
|
||
|
{
|
||
|
/*
|