diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-06-29 11:38:31 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-06-29 11:38:31 +0100 |
commit | 90c88731bd036e5698b281fbc0a5f3aa4c9983ac (patch) | |
tree | 83fc5facb6b12be510a37bc3d241cc63e965b13a /net-vpn/libreswan/files | |
parent | feb0daf81d888e9160f9f94502de09b66f2a63fd (diff) |
gentoo resync : 29.06.2020
Diffstat (limited to 'net-vpn/libreswan/files')
-rw-r--r-- | net-vpn/libreswan/files/libreswan-3.32-nss-compat.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/net-vpn/libreswan/files/libreswan-3.32-nss-compat.patch b/net-vpn/libreswan/files/libreswan-3.32-nss-compat.patch new file mode 100644 index 000000000000..09f71a9f907c --- /dev/null +++ b/net-vpn/libreswan/files/libreswan-3.32-nss-compat.patch @@ -0,0 +1,23 @@ +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" |