summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjsing <>2017-08-28 17:42:47 +0000
committerjsing <>2017-08-28 17:42:47 +0000
commita091c9d205aa117b08a98c800129b0e6ca40cd5f (patch)
tree1a5aeb76276aec1f5c33ead4a98728c81e435f5d /src
parent0382c9253ad062352e3b0e86758368e59d99d3ba (diff)
downloadopenbsd-a091c9d205aa117b08a98c800129b0e6ca40cd5f.tar.gz
openbsd-a091c9d205aa117b08a98c800129b0e6ca40cd5f.tar.bz2
openbsd-a091c9d205aa117b08a98c800129b0e6ca40cd5f.zip
Put the opening curly brace in the right place.
Diffstat (limited to 'src')
-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)