From 41b38d961803861ba302b61ab49772275de268d1 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 3 Feb 2020 22:07:32 +0300 Subject: Change rep-create certificate expiration warning threshold from 60 days to 1 year --- bpkg/auth.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bpkg/auth.cxx b/bpkg/auth.cxx index d667c01..f7dec94 100644 --- a/bpkg/auth.cxx +++ b/bpkg/auth.cxx @@ -902,7 +902,7 @@ namespace bpkg using days = chrono::duration>; days left (chrono::duration_cast (cert->end_date - now)); - if (left < days (60)) + if (left < days (365)) warn << "certificate for repository " << r << " expires in less than " << left.count () + 1 << " day(s)"; -- cgit v1.1