rpms/nss/devel bug417664.patch,NONE,1.1 nss.spec,1.39,1.40
Kai Engert (kengert)
fedora-extras-commits at redhat.com
Sat Feb 16 05:39:29 UTC 2008
- Previous message (by thread): rpms/unixcw/F-7 unixcw-2.3-makefile.in.patch, NONE, 1.1 unixcw-2.3-picflag.patch, NONE, 1.1 unixcw-2.3-qtfix.patch, NONE, 1.1 unixcw.spec, NONE, 1.1 .cvsignore, 1.1, 1.2
- Next message (by thread): rpms/libax25/F-8 libax25.spec,NONE,1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: kengert
Update of /cvs/extras/rpms/nss/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13471
Modified Files:
nss.spec
Added Files:
bug417664.patch
Log Message:
* Sat Feb 16 2008 Kai Engert <kengert at redhat.com> - 3.11.99.3-6
- Apply upstream patch for bug 417664, enable test suite on pcc.
bug417664.patch:
--- NEW FILE bug417664.patch ---
Index: mozilla/security/nss/lib/libpkix/pkix/top/pkix_defaultcrlchecker.c
===================================================================
RCS file: /cvsroot/mozilla/security/nss/lib/libpkix/pkix/top/pkix_defaultcrlchecker.c,v
retrieving revision 1.6
diff -u -u -r1.6 pkix_defaultcrlchecker.c
--- mozilla/security/nss/lib/libpkix/pkix/top/pkix_defaultcrlchecker.c 6 Dec 2007 18:15:10 -0000 1.6
+++ mozilla/security/nss/lib/libpkix/pkix/top/pkix_defaultcrlchecker.c 16 Feb 2008 05:36:03 -0000
@@ -58,6 +58,9 @@
"Certificate is revoked by CRL for aACompromise",
};
+static const int numReasonCodes =
+ sizeof(reasonCodeMsgString) / sizeof(reasonCodeMsgString[0]);
+
/* --Private-DefaultCRLCheckerState-Functions------------------------------- */
/*
@@ -433,8 +436,9 @@
/* Set reason code in state for advance CRL reviewing */
- if (reasonCode >= 0 &&
- reasonCode < sizeof (reasonCodeMsgString)) {
+ if (reasonCode >= 0) {
+ if (reasonCode >= numReasonCodes)
+ reasonCode = 0;
state->reasonCodeMask |= 1 << reasonCode;
PKIX_DEFAULTCRLCHECKERSTATE_DEBUG_ARG
@@ -726,12 +730,13 @@
(crlEntry, &reasonCode, plContext),
PKIX_CRLENTRYGETCRLENTRYREASONCODEFAILED);
- if ((reasonCode >= 0) &&
- (reasonCode < sizeof (reasonCodeMsgString))) {
+ if (reasonCode >= 0) {
+ if (reasonCode >= numReasonCodes)
+ reasonCode = 0;
- allReasonCodes |= (1 << (reasonCode - 1));
+ allReasonCodes |= (1 << reasonCode);
- PKIX_DEFAULTCRLCHECKERSTATE_DEBUG_ARG
+ PKIX_DEFAULTCRLCHECKERSTATE_DEBUG_ARG
("CRL revocation Reason: %s\n ",
reasonCodeMsgString[reasonCode]);
@@ -991,7 +996,7 @@
PKIX_PL_PublicKey *newPublicKey = NULL;
PKIX_Error *checkKeyUsageFail = NULL;
PKIX_Boolean selfIssued = PKIX_FALSE;
- void *nbioContext = PKIX_FALSE;
+ void *nbioContext = NULL;
PKIX_ENTER(CERTCHAINCHECKER, "pkix_DefaultCRLChecker_Check");
PKIX_NULLCHECK_THREE(checker, cert, pNBIOContext);
Index: nss.spec
===================================================================
RCS file: /cvs/extras/rpms/nss/devel/nss.spec,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- nss.spec 15 Feb 2008 16:57:37 -0000 1.39
+++ nss.spec 16 Feb 2008 05:38:51 -0000 1.40
@@ -4,7 +4,7 @@
Summary: Network Security Services
Name: nss
Version: 3.11.99.3
-Release: 5%{?dist}
+Release: 6%{?dist}
License: MPLv1.1 or GPLv2+ or LGPLv2+
URL: http://www.mozilla.org/projects/security/pki/nss/
Group: System Environment/Libraries
@@ -34,6 +34,7 @@
Patch2: nss-nolocalsql.patch
Patch6: nss-enable-pem.patch
Patch7: bug432146.patch
+Patch8: bug417664.patch
%description
@@ -90,6 +91,7 @@
%patch2 -p0
%patch6 -p0 -b .libpem
%patch7 -p0
+%patch8 -p0
%build
@@ -162,9 +164,6 @@
# enable the following line to force a test failure
# find ./mozilla -name \*.chk | xargs rm -f
-### test suite fails on ppc64 and ppc, temporarily disable
-%ifnarch ppc64 ppc
-
# Run test suite.
# In order to support multiple concurrent executions of the test suite
# (caused by concurrent RPM builds) on a single host,
@@ -212,9 +211,6 @@
fi
echo "test suite completed"
-### end of ifnarch for test suite
-%endif
-
%install
@@ -435,6 +431,8 @@
%changelog
+* Sat Feb 16 2008 Kai Engert <kengert at redhat.com> - 3.11.99.3-6
+- Apply upstream patch for bug 417664, enable test suite on pcc.
* Fri Feb 15 2008 Kai Engert <kengert at redhat.com> - 3.11.99.3-5
- Support concurrent runs of the test suite on a single build host.
* Thu Feb 14 2008 Kai Engert <kengert at redhat.com> - 3.11.99.3-4
- Previous message (by thread): rpms/unixcw/F-7 unixcw-2.3-makefile.in.patch, NONE, 1.1 unixcw-2.3-picflag.patch, NONE, 1.1 unixcw-2.3-qtfix.patch, NONE, 1.1 unixcw.spec, NONE, 1.1 .cvsignore, 1.1, 1.2
- Next message (by thread): rpms/libax25/F-8 libax25.spec,NONE,1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list