artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82c0aec
)
whitespace nit
author
tb
<tb@openbsd.org>
Thu, 30 Jun 2022 08:25:56 +0000
(08:25 +0000)
committer
tb
<tb@openbsd.org>
Thu, 30 Jun 2022 08:25:56 +0000
(08:25 +0000)
lib/libcrypto/asn1/a_time_tm.c
patch
|
blob
|
history
diff --git
a/lib/libcrypto/asn1/a_time_tm.c
b/lib/libcrypto/asn1/a_time_tm.c
index
9ddae82
..
88deec1
100644
(file)
--- a/
lib/libcrypto/asn1/a_time_tm.c
+++ b/
lib/libcrypto/asn1/a_time_tm.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: a_time_tm.c,v 1.2
2 2022/06/29 08:56:44 beck
Exp $ */
+/* $OpenBSD: a_time_tm.c,v 1.2
3 2022/06/30 08:25:56 tb
Exp $ */
/*
* Copyright (c) 2015 Bob Beck <beck@openbsd.org>
*
@@
-285,7
+285,7
@@
asn1_time_parse_cbs(const CBS *cbs, int is_gentime, struct tm *out_tm)
if (!CBS_get_u8(©, &tz))
return 0;
- if (
tz != 'Z')
+ if (tz != 'Z')
return 0; /* Reject anything but Z on the end. */
if (CBS_len(©) != 0)