Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
mozilla-nss.5768
nss-fix-hash.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nss-fix-hash.patch of Package mozilla-nss.5768
# HG changeset patch # Parent da07dd16b119104076bacb8740c376eff696b3da use bitwise OR operator instead of logical one in OCSP requests bsc#1030071 bmo#1348767 diff --git a/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocsprequest.c b/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocsprequest.c --- a/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocsprequest.c +++ b/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocsprequest.c @@ -84,18 +84,18 @@ pkix_pl_OcspRequest_Hashcode( if (ocspRq->addServiceLocator == PKIX_TRUE) { extensionHash = 0xff; } PKIX_HASHCODE(ocspRq->signerCert, &signerHash, plContext, PKIX_CERTHASHCODEFAILED); - *pHashcode = (((((extensionHash << 8) || certHash) << 8) || - dateHash) << 8) || signerHash; + *pHashcode = (((((extensionHash << 8) | certHash) << 8) | + dateHash) << 8) | signerHash; cleanup: PKIX_RETURN(OCSPREQUEST); } /*
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor