public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-python/python-nss/files: python-nss-0.12-rsapssparams.patch
@ 2011-12-04 12:42 Maxim Koltsov (maksbotan)
  0 siblings, 0 replies; only message in thread
From: Maxim Koltsov (maksbotan) @ 2011-12-04 12:42 UTC (permalink / raw
  To: gentoo-commits

maksbotan    11/12/04 12:42:49

  Added:                python-nss-0.12-rsapssparams.patch
  Log:
  Bump to 0.12, bug 390867. Thanks to slepnoga.
  
  (Portage version: 2.1.10.39/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  dev-python/python-nss/files/python-nss-0.12-rsapssparams.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-nss/files/python-nss-0.12-rsapssparams.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-nss/files/python-nss-0.12-rsapssparams.patch?rev=1.1&content-type=text/plain

Index: python-nss-0.12-rsapssparams.patch
===================================================================
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(&params->hashAlg->algorithm);
+        obj = oid_secitem_to_pystr_desc(&params.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(&params->maskAlg->algorithm);
-        if (SEC_QuickDERDecodeItem(pool, &mask_hash_alg,
+        obj = oid_secitem_to_pystr_desc(&params.maskAlg->algorithm);
+        if (SEC_QuickDERDecodeItem(arena, &mask_hash_alg,
                                    SEC_ASN1_GET(SECOID_AlgorithmIDTemplate),
                                    &params.maskAlg->parameters) == SECSuccess) {
             obj1 = oid_secitem_to_pystr_desc(&mask_hash_alg);






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-12-04 12:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-04 12:42 [gentoo-commits] gentoo-x86 commit in dev-python/python-nss/files: python-nss-0.12-rsapssparams.patch Maxim Koltsov (maksbotan)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox