net-vpn/libreswan: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/22147
Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
Michael Mair-Keimberger
2021-08-30 00:41:06 +02:00
committed by Conrad Kostecki
parent 1700e47376
commit dbddf84e82
@@ -1,23 +0,0 @@
Add compatibility setting for NSS
https://github.com/libreswan/libreswan/commit/65a497959a0e1ca615341109eaad5e75723839d6
We patch a different file because a later commit moved the setting to this file.
diff --git a/lib/libswan/ike_alg_encrypt_nss_gcm_ops.c b/lib/libswan/ike_alg_encrypt_nss_gcm_ops.c
index 93a027089a..571913cc1e 100644
--- a/lib/libswan/ike_alg_encrypt_nss_gcm_ops.c
+++ b/lib/libswan/ike_alg_encrypt_nss_gcm_ops.c
@@ -16,6 +16,12 @@
#include <stdio.h>
#include <stdlib.h>
+/*
+ * Special advise from Bob Relyea - needs to go before any nss include
+ *
+ */
+#define NSS_PKCS11_2_0_COMPAT 1
+
#include "lswlog.h"
#include "lswnss.h"
#include "prmem.h"