diff options
author | Stuart Stock <stuart@int08h.com> | 2018-10-21 18:14:42 -0500 |
---|---|---|
committer | Stuart Stock <stuart@int08h.com> | 2018-10-21 18:14:42 -0500 |
commit | 5c92c228af412e39633c11bc1eca3c975c161fb7 (patch) | |
tree | e0c9dd635e1facd2437faf7a8bcd50c6a4f448d5 /src | |
parent | 68788da97001f27702f5b9c7b2812dcab7bec24a (diff) | |
download | roughenough-5c92c228af412e39633c11bc1eca3c975c161fb7.zip |
minor cfg tweak
Diffstat (limited to 'src')
-rw-r--r-- | src/kms/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kms/mod.rs b/src/kms/mod.rs index ef3dd58..ed3cd13 100644 --- a/src/kms/mod.rs +++ b/src/kms/mod.rs @@ -211,7 +211,7 @@ pub fn load_seed(config: &Box<ServerConfig>) -> Result<Vec<u8>, error::Error> { /// The KMS feature is *disabled* in this build of Roughenough. The only /// supported `key_protection` value is `plaintext`. Any other value is an error. /// -#[cfg(all(not(feature = "awskms"), not(feature = "gcpkms")))] +#[cfg(not(any(feature = "awskms", feature = "gcpkms")))] pub fn load_seed(config: &Box<ServerConfig>) -> Result<Vec<u8>, error::Error> { match config.key_protection() { KeyProtection::Plaintext => Ok(config.seed()), |