diff options
Diffstat (limited to 'dev-python/python-nss/files/python-nss-0.12-rsapssparams.patch')
-rw-r--r-- | dev-python/python-nss/files/python-nss-0.12-rsapssparams.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-python/python-nss/files/python-nss-0.12-rsapssparams.patch b/dev-python/python-nss/files/python-nss-0.12-rsapssparams.patch new file mode 100644 index 00000000000..cea6f1d1ac4 --- /dev/null +++ b/dev-python/python-nss/files/python-nss-0.12-rsapssparams.patch @@ -0,0 +1,25 @@ +RCS file: /cvsroot/mozilla/security/python/nss/src/py_nss.c,v +retrieving revision 1.23 +diff -b -u -r1.23 py_nss.c +--- src/py_nss.c 6 Jun 2011 15:21:13 -0000 1.23 ++++ src/py_nss.c 17 Nov 2011 21:11:40 -0000 +@@ -4669,7 +4669,7 @@ + } + + if (params.hashAlg) { +- obj = oid_secitem_to_pystr_desc(¶ms->hashAlg->algorithm); ++ obj = oid_secitem_to_pystr_desc(¶ms.hashAlg->algorithm); + } else { + obj = PyString_FromString("default, SHA-1"); + } +@@ -4677,8 +4677,8 @@ + Py_CLEAR(obj); + + if (params.maskAlg) { +- obj = oid_secitem_to_pystr_desc(¶ms->maskAlg->algorithm); +- if (SEC_QuickDERDecodeItem(pool, &mask_hash_alg, ++ obj = oid_secitem_to_pystr_desc(¶ms.maskAlg->algorithm); ++ if (SEC_QuickDERDecodeItem(arena, &mask_hash_alg, + SEC_ASN1_GET(SECOID_AlgorithmIDTemplate), + ¶ms.maskAlg->parameters) == SECSuccess) { + obj1 = oid_secitem_to_pystr_desc(&mask_hash_alg); |