Blame SOURCES/nss-gcm-param-default-pkcs11v2.patch

a809bb
diff -up ./lib/util/pkcs11n.h.aes_gcm_pkcs11_v2 ./lib/util/pkcs11n.h
a809bb
--- ./lib/util/pkcs11n.h.aes_gcm_pkcs11_v2	2020-05-13 13:44:11.312405744 -0700
a809bb
+++ ./lib/util/pkcs11n.h	2020-05-13 13:45:23.951723660 -0700
a809bb
@@ -605,7 +605,7 @@ typedef struct CK_NSS_GCM_PARAMS {
a809bb
 typedef CK_NSS_GCM_PARAMS CK_PTR CK_NSS_GCM_PARAMS_PTR;
a809bb
 
a809bb
 /* deprecated #defines. Drop in future NSS releases */
a809bb
-#ifdef NSS_PKCS11_2_0_COMPAT
a809bb
+#ifndef NSS_PKCS11_3_0_STRICT
a809bb
 
a809bb
 /* defines that were changed between NSS's PKCS #11 and the Oasis headers */
a809bb
 #define CKF_EC_FP CKF_EC_F_P
a809bb
@@ -664,7 +664,7 @@ typedef CK_NSS_GCM_PARAMS CK_PTR CK_GCM_
a809bb
 #define CKT_NETSCAPE_VALID CKT_NSS_VALID
a809bb
 #define CKT_NETSCAPE_VALID_DELEGATOR CKT_NSS_VALID_DELEGATOR
a809bb
 #else
a809bb
-/* use the new CK_GCM_PARAMS if NSS_PKCS11_2_0_COMPAT is not defined */
a809bb
+/* use the new CK_GCM_PARAMS if NSS_PKCS11_3_0_STRICT is defined */
a809bb
 typedef struct CK_GCM_PARAMS_V3 CK_GCM_PARAMS;
a809bb
 typedef CK_GCM_PARAMS_V3 CK_PTR CK_GCM_PARAMS_PTR;
a809bb
 #endif