diff options
-rw-r--r-- | src/openssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openssl.c b/src/openssl.c index c3547bb..1f0f5e4 100644 --- a/src/openssl.c +++ b/src/openssl.c @@ -6634,7 +6634,7 @@ static double timeutc(const ASN1_TIME *time) { } else { if (!scan(&year, &cp, 2, 0)) goto badfmt; - year += (year < 50)? 2000 : 1999; + year += (year < 50)? 2000 : 1900; } tm.tm_year = year - 1900; |