Blame SOURCES/libreswan-3.32-1880466-labeled-ipsec.patch

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