[python-nss/f20] resolves bug #1087031, bad parameter spec for check_ocsp_status

John Dennis jdennis at fedoraproject.org
Fri May 2 18:35:54 UTC 2014


commit 279dcc58312c48a8b41cb605a6a82b9b242d9a5d
Author: John Dennis <jdennis at redhat.com>
Date:   Fri May 2 14:35:19 2014 -0400

    resolves bug #1087031, bad parameter spec for check_ocsp_status

 python-nss-check_ocsp_status.patch |   13 +++++++++++++
 python-nss.spec                    |   10 +++++++++-
 2 files changed, 22 insertions(+), 1 deletions(-)
---
diff --git a/python-nss-check_ocsp_status.patch b/python-nss-check_ocsp_status.patch
new file mode 100644
index 0000000..bdea9e6
--- /dev/null
+++ b/python-nss-check_ocsp_status.patch
@@ -0,0 +1,13 @@
+diff -r -u python-nss-0.14.0.orig/src/py_nss.c python-nss-0.14.0/src/py_nss.c
+--- python-nss-0.14.0.orig/src/py_nss.c	2014-05-02 14:29:18.641526544 -0400
++++ python-nss-0.14.0/src/py_nss.c	2014-05-02 14:30:04.426572218 -0400
+@@ -9182,7 +9182,7 @@
+     } else {
+         parse_args = PyTuple_GetSlice(args, 0, n_base_args);
+     }
+-    if (!PyArg_ParseTuple(args, "O&O&:check_ocsp_status",
++    if (!PyArg_ParseTuple(args, "O!O&:check_ocsp_status",
+                           &CertDBType, &py_certdb,
+                           PRTimeConvert, &pr_time)) {
+         Py_DECREF(parse_args);
+Only in python-nss-0.14.0/src: py_nss.c~
diff --git a/python-nss.spec b/python-nss.spec
index d764c7d..a7b90ff 100644
--- a/python-nss.spec
+++ b/python-nss.spec
@@ -6,7 +6,7 @@
 
 Name:           python-nss
 Version:        0.14.0
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Python bindings for Network Security Services (NSS)
 
 Group:          Development/Languages
@@ -15,6 +15,8 @@ URL:            ftp://ftp.mozilla.org/pub/mozilla.org/security/python-nss
 Source0:        ftp://ftp.mozilla.org/pub/mozilla.org/security/python-nss/releases/PYNSS_RELEASE_0_14_0/src/python-nss-%{version}.tar.bz2
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
+Patch1: python-nss-check_ocsp_status.patch
+
 %global docdir %{_docdir}/%{name}-%{version}
 
 # We don't want to provide private python extension libs
@@ -51,6 +53,8 @@ API documentation and examples
 %prep
 %setup -q
 
+%patch1 -p1 -b .check_ocsp_status
+
 %build
 CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %{__python} setup.py build
 %if %build_api_doc
@@ -91,6 +95,10 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %changelog
+* Fri May  2 2014 John Dennis <jdennis at redhat.com> - 0.14.0-3
+- resolves bug #1087031, bad parameter spec for check_ocsp_status
+
+
 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.14.0-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 


More information about the scm-commits mailing list