mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-14 20:37:55 +00:00
Fix three more warnings in OCSP (#10746)
This commit is contained in:
parent
6633a4ded4
commit
28beda0d53
1 changed files with 4 additions and 4 deletions
|
|
@ -703,15 +703,15 @@ fn create_ocsp_response(
|
|||
|
||||
let sigalg = x509::sign::compute_signature_algorithm(
|
||||
py,
|
||||
private_key.as_borrowed().to_owned(),
|
||||
hash_algorithm.as_borrowed().to_owned(),
|
||||
private_key.clone(),
|
||||
hash_algorithm.clone(),
|
||||
py.None().into_bound(py),
|
||||
)?;
|
||||
let tbs_bytes = asn1::write_single(&tbs_response_data)?;
|
||||
let signature = x509::sign::sign_data(
|
||||
py,
|
||||
private_key.as_borrowed().to_owned(),
|
||||
hash_algorithm.as_borrowed().to_owned(),
|
||||
private_key.clone(),
|
||||
hash_algorithm.clone(),
|
||||
py.None().into_bound(py),
|
||||
&tbs_bytes,
|
||||
)?;
|
||||
|
|
|
|||
Loading…
Reference in a new issue