summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStuart Stock <stuart@int08h.com>2019-06-29 15:30:24 -0500
committerStuart Stock <stuart@int08h.com>2019-06-29 15:30:24 -0500
commitf5d319b6de35e26a6a9194ce6032582c6415cf3a (patch)
tree7b66e7e2cf82ba3e321e70c637d278dd9c5844db /src
parent3a4262e6673daac66d59764df24e0143c141a72d (diff)
downloadroughenough-f5d319b6de35e26a6a9194ce6032582c6415cf3a.zip
Remove redundant imports of EnvelopeEncryption
Diffstat (limited to 'src')
-rw-r--r--src/kms/mod.rs4
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) => {