Skip to content

Commit 5502a40

Browse files
more package name replaces...
1 parent 98d6b2e commit 5502a40

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+801
-801
lines changed

Cargo.lock

Lines changed: 44 additions & 44 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bogo/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ edition = "2021"
66
[dependencies]
77
base64 = { workspace = true }
88
env_logger = { workspace = true }
9-
rustls = { path = "../rustls", features = ["aws_lc_rs", "ring", "tls12"] }
9+
watfaq-rustls = { path = "../rustls", features = ["aws_lc_rs", "ring", "tls12"] }
1010
rustls-post-quantum = { path = "../rustls-post-quantum", optional = true }
1111

1212
[features]
1313
default = []
1414
post-quantum = ["dep:rustls-post-quantum"]
15-
fips = ["rustls/fips"]
15+
fips = ["watfaq-rustls/fips"]

bogo/src/main.rs

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,24 @@ use std::sync::Arc;
1010
use std::{env, net, process, thread, time};
1111

1212
use base64::prelude::{Engine, BASE64_STANDARD};
13-
use rustls::client::danger::{HandshakeSignatureValid, ServerCertVerified, ServerCertVerifier};
14-
use rustls::client::{
13+
use watfaq_rustls::client::danger::{HandshakeSignatureValid, ServerCertVerified, ServerCertVerifier};
14+
use watfaq_rustls::client::{
1515
ClientConfig, ClientConnection, EchConfig, EchGreaseConfig, EchMode, EchStatus, Resumption,
1616
WebPkiServerVerifier,
1717
};
18-
use rustls::crypto::aws_lc_rs::hpke;
19-
use rustls::crypto::hpke::{Hpke, HpkePublicKey};
20-
use rustls::crypto::{aws_lc_rs, ring, CryptoProvider};
21-
use rustls::internal::msgs::codec::{Codec, Reader};
22-
use rustls::internal::msgs::handshake::EchConfigPayload;
23-
use rustls::internal::msgs::persist::ServerSessionValue;
24-
use rustls::pki_types::pem::PemObject;
25-
use rustls::pki_types::{CertificateDer, EchConfigListBytes, PrivateKeyDer, ServerName, UnixTime};
26-
use rustls::server::danger::{ClientCertVerified, ClientCertVerifier};
27-
use rustls::server::{
18+
use watfaq_rustls::crypto::aws_lc_rs::hpke;
19+
use watfaq_rustls::crypto::hpke::{Hpke, HpkePublicKey};
20+
use watfaq_rustls::crypto::{aws_lc_rs, ring, CryptoProvider};
21+
use watfaq_rustls::internal::msgs::codec::{Codec, Reader};
22+
use watfaq_rustls::internal::msgs::handshake::EchConfigPayload;
23+
use watfaq_rustls::internal::msgs::persist::ServerSessionValue;
24+
use watfaq_rustls::pki_types::pem::PemObject;
25+
use watfaq_rustls::pki_types::{CertificateDer, EchConfigListBytes, PrivateKeyDer, ServerName, UnixTime};
26+
use watfaq_rustls::server::danger::{ClientCertVerified, ClientCertVerifier};
27+
use watfaq_rustls::server::{
2828
ClientHello, ProducesTickets, ServerConfig, ServerConnection, WebPkiClientVerifier,
2929
};
30-
use rustls::{
30+
use watfaq_rustls::{
3131
client, compress, server, sign, version, AlertDescription, CertificateCompressionAlgorithm,
3232
CertificateError, Connection, DigitallySignedStruct, DistinguishedName, Error, HandshakeKind,
3333
InvalidMessage, NamedGroup, PeerIncompatible, PeerMisbehaved, ProtocolVersion, RootCertStore,
@@ -1559,7 +1559,7 @@ pub fn main() {
15591559
}
15601560
#[cfg(feature = "fips")]
15611561
"-fips-202205" if opts.selected_provider == SelectedProvider::AwsLcRsFips => {
1562-
opts.provider = rustls::crypto::default_fips_provider();
1562+
opts.provider = watfaq_rustls::crypto::default_fips_provider();
15631563
}
15641564
"-fips-202205" => {
15651565
println!("Not a FIPS build");

ci-bench/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ clap = { workspace = true }
1414
fxhash = { workspace = true }
1515
itertools = { workspace = true }
1616
rayon = { workspace = true }
17-
rustls = { path = "../rustls", features = ["ring", "aws_lc_rs"] }
17+
watfaq-rustls = { path = "../rustls", features = ["ring", "aws_lc_rs"] }
1818

1919
[target.'cfg(not(target_env = "msvc"))'.dependencies]
2020
tikv-jemallocator = { workspace = true }

ci-bench/src/benchmark.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -84,27 +84,27 @@ impl ResumptionKind {
8484
#[derive(Clone, Debug)]
8585
pub struct BenchmarkParams {
8686
/// Which `CryptoProvider` to test
87-
pub provider: rustls::crypto::CryptoProvider,
87+
pub provider: watfaq_rustls::crypto::CryptoProvider,
8888
/// How to make a suitable [`rustls::server::ProducesTickets`].
89-
pub ticketer: &'static fn() -> Arc<dyn rustls::server::ProducesTickets>,
89+
pub ticketer: &'static fn() -> Arc<dyn watfaq_rustls::server::ProducesTickets>,
9090
/// The type of key used to sign the TLS certificate
9191
pub key_type: KeyType,
9292
/// Cipher suite
93-
pub ciphersuite: rustls::SupportedCipherSuite,
93+
pub ciphersuite: watfaq_rustls::SupportedCipherSuite,
9494
/// TLS version
95-
pub version: &'static rustls::SupportedProtocolVersion,
95+
pub version: &'static watfaq_rustls::SupportedProtocolVersion,
9696
/// A user-facing label that identifies these params
9797
pub label: String,
9898
}
9999

100100
impl BenchmarkParams {
101101
/// Create a new set of benchmark params
102102
pub const fn new(
103-
provider: rustls::crypto::CryptoProvider,
104-
ticketer: &'static fn() -> Arc<dyn rustls::server::ProducesTickets>,
103+
provider: watfaq_rustls::crypto::CryptoProvider,
104+
ticketer: &'static fn() -> Arc<dyn watfaq_rustls::server::ProducesTickets>,
105105
key_type: KeyType,
106-
ciphersuite: rustls::SupportedCipherSuite,
107-
version: &'static rustls::SupportedProtocolVersion,
106+
ciphersuite: watfaq_rustls::SupportedCipherSuite,
107+
version: &'static watfaq_rustls::SupportedProtocolVersion,
108108
label: String,
109109
) -> Self {
110110
Self {

0 commit comments

Comments
 (0)