Skip to content

Commit 739d98c

Browse files
committed
Remove re-export of rustls-pki-types
1 parent ae14fdd commit 739d98c

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,6 @@ pub use {
8686
verify_cert::VerifiedPath,
8787
};
8888

89-
pub use pki_types as types;
90-
9189
#[cfg(feature = "alloc")]
9290
pub use crl::{OwnedCertRevocationList, OwnedRevokedCert};
9391

@@ -121,7 +119,7 @@ pub mod aws_lc_rs {
121119
/// An array of all the verification algorithms exported by this crate.
122120
///
123121
/// This will be empty if the crate is built without the `ring` and `aws-lc-rs` features.
124-
pub static ALL_VERIFICATION_ALGS: &[&dyn types::SignatureVerificationAlgorithm] = &[
122+
pub static ALL_VERIFICATION_ALGS: &[&dyn pki_types::SignatureVerificationAlgorithm] = &[
125123
#[cfg(feature = "ring")]
126124
ring::ECDSA_P256_SHA256,
127125
#[cfg(feature = "ring")]

tests/better_tls.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@ use std::fs::File;
66

77
use base64::{engine::general_purpose, Engine as _};
88
use bzip2::read::BzDecoder;
9-
use pki_types::{ServerName, UnixTime};
9+
use pki_types::{
10+
CertificateDer, ServerName, SignatureVerificationAlgorithm, TrustAnchor, UnixTime,
11+
};
1012
use serde::Deserialize;
1113

12-
use webpki::types::{CertificateDer, SignatureVerificationAlgorithm, TrustAnchor};
1314
use webpki::{anchor_from_trusted_cert, KeyUsage};
1415

1516
// All of the BetterTLS testcases use P256 keys.

0 commit comments

Comments
 (0)