Skip to content

Commit

Permalink
fixes #11723 -- add a comment for another source of bad certs (#11724)
Browse files Browse the repository at this point in the history
  • Loading branch information
alex authored Oct 8, 2024
1 parent 714538e commit 9d90c4b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/rust/src/x509/certificate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,8 @@ fn warn_if_invalid_params(
| AlgorithmParameters::DsaWithSha256(Some(..))
| AlgorithmParameters::DsaWithSha384(Some(..))
| AlgorithmParameters::DsaWithSha512(Some(..)) => {
// This can also be triggered by an Intel On Die certificate
// https://github.com/pyca/cryptography/issues/11723
let warning_cls = types::DEPRECATED_IN_41.get(py)?;
pyo3::PyErr::warn_bound(
py,
Expand Down

0 comments on commit 9d90c4b

Please sign in to comment.