amppackager icon indicating copy to clipboard operation
amppackager copied to clipboard

Refactor CertCache.renewed* fields into a sub-struct

Open twifkak opened this issue 6 years ago • 0 comments

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.

twifkak avatar Feb 28 '20 21:02 twifkak