Cleanup: use dcp::LocalTime for certificate validity times.
authorCarl Hetherington <cth@carlh.net>
Sat, 12 Feb 2022 20:15:03 +0000 (21:15 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 12 Feb 2022 20:15:03 +0000 (21:15 +0100)
commitc2e0ef3ef946aca838528354d58f30611e8fc24f
treeaa4ab5bcdc5be5017f2dbf69ba3c5d693d2d4660
parent14fe5e65786784745f52dc56bb9cd88c55f81c94
Cleanup: use dcp::LocalTime for certificate validity times.

Before we were using struct tm but not filling it all in, which
seems quite unpleasant.
src/certificate.cc
src/certificate.h
src/decrypted_kdm.cc
src/local_time.cc
src/local_time.h
test/certificates_test.cc
test/local_time_test.cc
tools/dcpkdm.cc