Skip to content

Commit

Permalink
Revert "verification: abbreviate two errors slightly (#10575)" (#10576)
Browse files Browse the repository at this point in the history
This reverts commit 1db62a1.
  • Loading branch information
woodruffw authored Mar 12, 2024
1 parent 1db62a1 commit ef9e652
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rust/cryptography-x509-verification/src/policy/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ impl<'a, B: CryptoOps> Policy<'a, B> {
{
return Err(ValidationError::Other(format!(
"Forbidden public key algorithm: {:?}",
&child.tbs_cert.spki.algorithm.oid()
&child.tbs_cert.spki.algorithm
)));
}

Expand All @@ -500,7 +500,7 @@ impl<'a, B: CryptoOps> Policy<'a, B> {
{
return Err(ValidationError::Other(format!(
"Forbidden signature algorithm: {:?}",
&child.signature_alg.oid()
&child.signature_alg
)));
}

Expand Down

0 comments on commit ef9e652

Please sign in to comment.