Non-working NSPR and NSS packages. See the README file for details.
[fedora-mingw.git] / nss / nss-pem-bug429175.patch
diff --git a/nss/nss-pem-bug429175.patch b/nss/nss-pem-bug429175.patch
new file mode 100644 (file)
index 0000000..6732c04
--- /dev/null
@@ -0,0 +1,12 @@
+diff -u --recursive mozilla.orig/security/nss/lib/ckfw/pem/pobject.c mozilla/security/nss/lib/ckfw/pem/pobject.c
+--- mozilla.orig/security/nss/lib/ckfw/pem/pobject.c    2007-09-06 16:46:30.000000000 -0400
++++ mozilla/security/nss/lib/ckfw/pem/pobject.c 2008-08-13 21:08:43.000000000 -0400
+@@ -160,7 +160,7 @@
+     (void *) &ck_false, (PRUint32) sizeof(CK_BBOOL)
+ };
+ static const NSSItem pem_x509Item = {
+-    (void *) &ckc_x509, (PRUint32) sizeof(CKC_X_509)
++    (void *) &ckc_x509, (PRUint32) sizeof(CK_ULONG)
+ };
+ static const NSSItem pem_rsaItem = {
+     (void *) &ckk_rsa, (PRUint32) sizeof(CK_KEY_TYPE)