diff options
Diffstat (limited to 'src/kms/mod.rs')
-rw-r--r-- | src/kms/mod.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/kms/mod.rs b/src/kms/mod.rs index 6e8040b..6cd3773 100644 --- a/src/kms/mod.rs +++ b/src/kms/mod.rs @@ -145,8 +145,6 @@ pub use crate::kms::awskms::inner::AwsKms; /// #[cfg(feature = "awskms")] pub fn load_seed(config: &Box<ServerConfig>) -> Result<Vec<u8>, error::Error> { - use crate::kms::envelope::EnvelopeEncryption; - match config.kms_protection() { KmsProtection::Plaintext => Ok(config.seed()), KmsProtection::AwsKmsEnvelope(key_id) => { @@ -181,8 +179,6 @@ pub use crate::kms::gcpkms::inner::GcpKms; /// #[cfg(feature = "gcpkms")] pub fn load_seed(config: &Box<ServerConfig>) -> Result<Vec<u8>, error::Error> { - use crate::kms::envelope::EnvelopeEncryption; - match config.kms_protection() { KmsProtection::Plaintext => Ok(config.seed()), KmsProtection::GoogleKmsEnvelope(resource_id) => { |