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

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