diff options
Diffstat (limited to 'src/or/torcert.c')
-rw-r--r-- | src/or/torcert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/torcert.c b/src/or/torcert.c index 27bdb34331..269fa66cea 100644 --- a/src/or/torcert.c +++ b/src/or/torcert.c @@ -169,7 +169,7 @@ tor_cert_parse(const uint8_t *encoded, const size_t len) memcpy(cert->signed_key.pubkey, parsed->certified_key, 32); int64_t valid_until_64 = ((int64_t)parsed->exp_field) * 3600; -#if SIZEOF_TIME_T < SIZEOF_INT64_T +#if SIZEOF_TIME_T < 8 if (valid_until_64 > TIME_MAX) valid_until_64 = TIME_MAX - 1; #endif |