Skip to content

Commit

Permalink
minor cfg tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
int08h committed Oct 21, 2018
1 parent 68788da commit 5c92c22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kms/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()),
Expand Down

0 comments on commit 5c92c22

Please sign in to comment.