projects
/
freeradius.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
a normal ASN1 time is 13 octets
[freeradius.git]
/
src
/
main
/
tls.c
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);