summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libcrypto/asn1/a_time_tm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libcrypto/asn1/a_time_tm.c b/src/lib/libcrypto/asn1/a_time_tm.c
index 48f9f8b5e1..b13f7c767f 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.13 2017/08/13 19:47:49 beck Exp $ */ 1/* $OpenBSD: a_time_tm.c,v 1.14 2017/08/28 17:42:47 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2015 Bob Beck <beck@openbsd.org> 3 * Copyright (c) 2015 Bob Beck <beck@openbsd.org>
4 * 4 *
@@ -30,7 +30,8 @@
30#define UTCTIME_LENGTH 13 30#define UTCTIME_LENGTH 13
31 31
32int 32int
33ASN1_time_tm_cmp(struct tm *tm1, struct tm *tm2) { 33ASN1_time_tm_cmp(struct tm *tm1, struct tm *tm2)
34{
34 if (tm1->tm_year < tm2->tm_year) 35 if (tm1->tm_year < tm2->tm_year)
35 return (-1); 36 return (-1);
36 if (tm1->tm_year > tm2->tm_year) 37 if (tm1->tm_year > tm2->tm_year)