Skip to content

Commit

Permalink
remove usage of deprecated rcgen enums
Browse files Browse the repository at this point in the history
Signed-off-by: Reuben Miller <[email protected]>
  • Loading branch information
reubenmiller committed Jan 29, 2024
1 parent 4a1549b commit 58d2e9c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/common/certificate/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ use device_id::DeviceIdError;
use rcgen::Certificate;
use rcgen::CertificateParams;
use rcgen::KeyPair;
use rcgen::RcgenError;
use sha1::Digest;
use sha1::Sha1;
use std::path::Path;
Expand Down Expand Up @@ -191,7 +190,7 @@ pub enum CertificateError {
IoError(#[from] std::io::Error),

#[error("Cryptography related error")]
CryptographyError(#[from] RcgenError),
CryptographyError(#[from] rcgen::Error),

#[error("PEM file format error")]
PemError(#[from] x509_parser::error::PEMError),
Expand Down

0 comments on commit 58d2e9c

Please sign in to comment.