amppackager
amppackager copied to clipboard
Refactor CertCache.renewed* fields into a sub-struct
Currently, CertCache has a bunch of fields named foo and renewedFoo, to store info about the old and new certificate (for ACME renewal). Two things:
- It's missing renewedOCSP fields, as reported in #399.
- It would be nice to refactor all these fields into a struct CertInfo with some methods, and then we could just have two CertInfos, and hopefully reduce some code duplication.