diff --git a/nss-pem-bug429175.patch b/nss-pem-bug429175.patch deleted file mode 100644 index 6732c04..0000000 --- a/nss-pem-bug429175.patch +++ /dev/null @@ -1,12 +0,0 @@ -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) diff --git a/nss-pem-bug483855.patch b/nss-pem-bug483855.patch deleted file mode 100644 index 346cdb3..0000000 --- a/nss-pem-bug483855.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff -ruNp 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 2009-02-28 15:03:36.719964516 +0100 -+++ mozilla/security/nss/lib/ckfw/pem/pobject.c 2009-02-28 15:03:55.964074075 +0100 -@@ -987,10 +987,7 @@ pem_CreateObject - char *ivstring = NULL; - - count = pem_nobjs; -- if (count > 0) -- size = ((count / PEM_ITEM_CHUNK) + 1) * PEM_ITEM_CHUNK; -- else -- size = 0; -+ size = (count / PEM_ITEM_CHUNK) * PEM_ITEM_CHUNK; - - /* - * only create token objects