Skip to content

Commit

Permalink
Derive Clone for CertificateParams
Browse files Browse the repository at this point in the history
Now that this no longer contains private key material, this seems sensible.
  • Loading branch information
djc committed Mar 20, 2024
1 parent fce1b82 commit eb146cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rcgen/src/certificate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ impl Certificate {
/// Parameters used for certificate generation
#[allow(missing_docs)]
#[non_exhaustive]
#[derive(Clone)]
pub struct CertificateParams {
pub not_before: OffsetDateTime,
pub not_after: OffsetDateTime,
Expand Down

0 comments on commit eb146cc

Please sign in to comment.