summaryrefslogtreecommitdiffstats
path: root/crypto/nss/nss-pem-bug429175.patch
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/nss/nss-pem-bug429175.patch')
-rw-r--r--crypto/nss/nss-pem-bug429175.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/crypto/nss/nss-pem-bug429175.patch b/crypto/nss/nss-pem-bug429175.patch
new file mode 100644
index 0000000000..6732c0483d
--- /dev/null
+++ b/crypto/nss/nss-pem-bug429175.patch
@@ -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)