Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Bug 1348767 - use bitwise or, r=franziskus
--HG--
extra : rebase_source : 44cb448e45299868fabc9decdb4fde466b64d2ae
  • Loading branch information
Petr Cerny committed Mar 20, 2017
1 parent e0ffe74 commit 0cf9c33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocsprequest.c
Expand Up @@ -89,8 +89,8 @@ pkix_pl_OcspRequest_Hashcode(
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:

Expand Down

0 comments on commit 0cf9c33

Please sign in to comment.