michael@0: diff a/security/manager/boot/src/PublicKeyPinningService.cpp b/security/manager/boot/src/PublicKeyPinningService.cpp (rejected hunks) michael@0: @@ -296,7 +296,8 @@ PublicKeyPinningService::ChainHasValidPins(const CERTCertList* certList, michael@0: if (!certList) { michael@0: return false; michael@0: } michael@0: - if (time > TimeFromElapsedSecondsAD(kPreloadPKPinsExpirationTime)) { michael@0: + if (time > TimeFromEpochInSeconds(kPreloadPKPinsExpirationTime / michael@0: + PR_USEC_PER_SEC)) { michael@0: return true; michael@0: } michael@0: if (!hostname || hostname[0] == 0) {