Skip to content

Commit 0814b58

Browse files
davidv1992rnijveld
authored andcommitted
Further removal of poolke code.
1 parent db2cf41 commit 0814b58

File tree

3 files changed

+0
-340
lines changed

3 files changed

+0
-340
lines changed

ntp-proto/src/lib.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ mod source;
2323
mod system;
2424
mod time_types;
2525

26-
#[cfg(feature = "nts-pool")]
27-
mod nts_pool_ke;
2826
pub mod tls_utils;
2927

3028
pub(crate) mod exitcode {
@@ -93,15 +91,6 @@ mod exports {
9391
pub mod v5 {
9492
pub use crate::packet::v5::server_reference_id::{BloomFilter, ServerId};
9593
}
96-
97-
#[cfg(feature = "nts-pool")]
98-
pub use super::nts_record::AeadAlgorithm;
99-
100-
#[cfg(feature = "nts-pool")]
101-
pub use super::nts_pool_ke::{
102-
ClientToPoolData, ClientToPoolDecoder, PoolToServerData, PoolToServerDecoder,
103-
SupportedAlgorithmsDecoder,
104-
};
10594
}
10695

10796
#[cfg(feature = "__internal-api")]

ntp-proto/src/nts_pool_ke.rs

Lines changed: 0 additions & 319 deletions
This file was deleted.

ntp-proto/src/nts_record.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -915,16 +915,6 @@ pub struct NtsKeys {
915915
s2c: Box<dyn Cipher>,
916916
}
917917

918-
impl NtsKeys {
919-
#[cfg(feature = "nts-pool")]
920-
pub fn as_fixed_key_request(&self) -> NtsRecord {
921-
NtsRecord::FixedKeyRequest {
922-
c2s: self.c2s.key_bytes().to_vec(),
923-
s2c: self.s2c.key_bytes().to_vec(),
924-
}
925-
}
926-
}
927-
928918
impl std::fmt::Debug for NtsKeys {
929919
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
930920
f.debug_struct("NtsKeys")

0 commit comments

Comments
 (0)