artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ceb9f7
)
In rrdp_session_parse() set the last_reset time to now if the .state file
author
claudio
<claudio@openbsd.org>
Tue, 3 Sep 2024 13:31:31 +0000
(13:31 +0000)
committer
claudio
<claudio@openbsd.org>
Tue, 3 Sep 2024 13:31:31 +0000
(13:31 +0000)
does not exist.
OK tb@
usr.sbin/rpki-client/repo.c
patch
|
blob
|
history
diff --git
a/usr.sbin/rpki-client/repo.c
b/usr.sbin/rpki-client/repo.c
index
731d51c
..
064d8d0
100644
(file)
--- a/
usr.sbin/rpki-client/repo.c
+++ b/
usr.sbin/rpki-client/repo.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: repo.c,v 1.6
4 2024/08/29 09:54:13 job
Exp $ */
+/* $OpenBSD: repo.c,v 1.6
5 2024/09/03 13:31:31 claudio
Exp $ */
/*
* Copyright (c) 2021 Claudio Jeker <claudio@openbsd.org>
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
@@
-673,6
+673,7
@@
rrdp_session_parse(struct rrdprepo *rr)
if (errno != ENOENT)
warn("%s: open state file", rr->basedir);
free(file);
+ rr->last_reset = now;
return state;
}
free(file);