projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9571d94
)
a normal ASN1 time is 13 octets
author
Alan T. DeKok
<aland@freeradius.org>
Thu, 13 Jul 2017 15:49:29 +0000
(11:49 -0400)
committer
Alan T. DeKok
<aland@freeradius.org>
Mon, 17 Jul 2017 12:38:31 +0000
(08:38 -0400)
YYMMDDHHMMSSZ
src/main/tls.c
patch
|
blob
|
history
diff --git
a/src/main/tls.c
b/src/main/tls.c
index
6816ce6
..
3d8b1b5
100644
(file)
--- a/
src/main/tls.c
+++ b/
src/main/tls.c
@@
-1454,7
+1454,7
@@
static int ocsp_asn1time_to_epoch(time_t *out, char const *asn1)
memset(&t, 0, sizeof(t));
- if ((end - p) <= 1
2
) {
+ if ((end - p) <= 1
3
) {
if ((end - p) < 2) {
fr_strerror_printf("ASN1 date string too short, expected 2 additional bytes, got %zu bytes",
end - p);