70c8536a25
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/nss#8b34570da21ddd732841d9e2d4ed111f590237a3
22 lines
972 B
Diff
22 lines
972 B
Diff
diff -up ./lib/util/pkcs11n.h.aes_gcm_pkcs11_v2 ./lib/util/pkcs11n.h
|
|
--- ./lib/util/pkcs11n.h.aes_gcm_pkcs11_v2 2020-05-13 13:44:11.312405744 -0700
|
|
+++ ./lib/util/pkcs11n.h 2020-05-13 13:45:23.951723660 -0700
|
|
@@ -605,7 +605,7 @@ typedef struct CK_NSS_GCM_PARAMS {
|
|
typedef CK_NSS_GCM_PARAMS CK_PTR CK_NSS_GCM_PARAMS_PTR;
|
|
|
|
/* deprecated #defines. Drop in future NSS releases */
|
|
-#ifdef NSS_PKCS11_2_0_COMPAT
|
|
+#ifndef NSS_PKCS11_3_0_STRICT
|
|
|
|
/* defines that were changed between NSS's PKCS #11 and the Oasis headers */
|
|
#define CKF_EC_FP CKF_EC_F_P
|
|
@@ -664,7 +664,7 @@ typedef CK_NSS_GCM_PARAMS CK_PTR CK_GCM_
|
|
#define CKT_NETSCAPE_VALID CKT_NSS_VALID
|
|
#define CKT_NETSCAPE_VALID_DELEGATOR CKT_NSS_VALID_DELEGATOR
|
|
#else
|
|
-/* use the new CK_GCM_PARAMS if NSS_PKCS11_2_0_COMPAT is not defined */
|
|
+/* use the new CK_GCM_PARAMS if NSS_PKCS11_3_0_STRICT is defined */
|
|
typedef struct CK_GCM_PARAMS_V3 CK_GCM_PARAMS;
|
|
typedef CK_GCM_PARAMS_V3 CK_PTR CK_GCM_PARAMS_PTR;
|
|
#endif
|