summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjsing <>2017-08-28 17:42:47 +0000
committerjsing <>2017-08-28 17:42:47 +0000
commit182fcc7a1cd60e88ee410f32eee6b047e72ddf77 (patch)
tree1a5aeb76276aec1f5c33ead4a98728c81e435f5d
parent437b7aac4231ead6a94ceec52527723a4251d08f (diff)
downloadopenbsd-182fcc7a1cd60e88ee410f32eee6b047e72ddf77.tar.gz
openbsd-182fcc7a1cd60e88ee410f32eee6b047e72ddf77.tar.bz2
openbsd-182fcc7a1cd60e88ee410f32eee6b047e72ddf77.zip
Put the opening curly brace in the right place.
-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)