Skip to content

Commit

Permalink
Merge pull request #28 from mresvanis/fix-cn-san-replace-context
Browse files Browse the repository at this point in the history
  • Loading branch information
omertuc authored Oct 6, 2023
2 parents 546d7d8 + 80b81a2 commit 8d85a33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cluster_crypto/cert_key_pair/cert_mutations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ pub(crate) fn mutate_cert_cn_san(
cn_san_replace_rules: &CnSanReplaceRules,
) -> Result<(), anyhow::Error> {
mutate_cert_common_name(&mut tbs_certificate.subject, cn_san_replace_rules).context("mutating subject Common Name")?;
mutate_cert_common_name(&mut tbs_certificate.issuer, cn_san_replace_rules).context("mutating subject Common Name")?;
mutate_cert_common_name(&mut tbs_certificate.issuer, cn_san_replace_rules).context("mutating issuer Common Name")?;
mutate_cert_subject_alternative_name(tbs_certificate, cn_san_replace_rules).context("mutating Subject Alternative Name")?;
Ok(())
}
Expand Down

0 comments on commit 8d85a33

Please sign in to comment.