diff -Naur libreswan-3.32-orig/lib/libswan/ike_alg_encrypt_nss_gcm_ops.c libreswan-3.32/lib/libswan/ike_alg_encrypt_nss_gcm_ops.c --- libreswan-3.32-orig/lib/libswan/ike_alg_encrypt_nss_gcm_ops.c 2020-05-11 10:13:41.000000000 -0400 +++ libreswan-3.32/lib/libswan/ike_alg_encrypt_nss_gcm_ops.c 2020-05-26 10:23:26.563318038 -0400 @@ -16,6 +16,12 @@ #include #include +/* + * 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"