summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorIlya Lipnitskiy <ilya.lipnitskiy@gmail.com>2021-12-13 13:13:52 -0800
committerJulien Cristau <jcristau@debian.org>2021-12-14 09:25:12 +0100
commit4784cf2dac3b6a10f4747423ee8c7f912804feb2 (patch)
treec6c810281b4d3911328375fb114dbc32667435af /debian/rules
parent07de54fdcc5806bde549e1edf60738c6bccf50e8 (diff)
downloadca-certificates-4784cf2dac3b6a10f4747423ee8c7f912804feb2.tar.gz
mozilla/certdata2pem.py: use UTC time when checking cert validity
x509.not_valid_after returns naive UTC datetime and so does datetime.utcnow(), so keep the time consistent when performing the comparison. Fixes: 8033d5225917 ("mozilla/certdata2pem.py: print a warning for expired certificates.") Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com> Signed-off-by: Julien Cristau <jcristau@debian.org>
Diffstat (limited to 'debian/rules')
0 files changed, 0 insertions, 0 deletions