diff options
-rw-r--r-- | src/lib/libcrypto/asn1/a_time_tm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/asn1/a_time_tm.c b/src/lib/libcrypto/asn1/a_time_tm.c index 556e12a367..ea94d2f59d 100644 --- a/src/lib/libcrypto/asn1/a_time_tm.c +++ b/src/lib/libcrypto/asn1/a_time_tm.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: a_time_tm.c,v 1.30 2023/08/30 10:13:12 job Exp $ */ | 1 | /* $OpenBSD: a_time_tm.c,v 1.31 2023/10/01 22:14:36 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2015 Bob Beck <beck@openbsd.org> | 3 | * Copyright (c) 2015 Bob Beck <beck@openbsd.org> |
4 | * | 4 | * |
@@ -503,7 +503,7 @@ ASN1_TIME_compare(const ASN1_TIME *t1, const ASN1_TIME *t2) | |||
503 | if (ASN1_time_parse(t1->data, t1->length, &tm1, t1->type) == -1) | 503 | if (ASN1_time_parse(t1->data, t1->length, &tm1, t1->type) == -1) |
504 | return -2; | 504 | return -2; |
505 | 505 | ||
506 | if (ASN1_time_parse(t1->data, t2->length, &tm2, t2->type) == -1) | 506 | if (ASN1_time_parse(t2->data, t2->length, &tm2, t2->type) == -1) |
507 | return -2; | 507 | return -2; |
508 | 508 | ||
509 | return ASN1_time_tm_cmp(&tm1, &tm2); | 509 | return ASN1_time_tm_cmp(&tm1, &tm2); |