From 0345f48d4d001ccfbb87c7a621a22cf85e114d4e Mon Sep 17 00:00:00 2001 From: Daniel Hougaard <62331820+DanielHougaard@users.noreply.github.com> Date: Thu, 4 Jan 2024 05:34:19 +0400 Subject: [PATCH] Cleaned up encryption to use ? operator --- .../manager/cryptography/encrypt_symmetric.rs | 34 +++++++------------ 1 file changed, 13 insertions(+), 21 deletions(-) diff --git a/crates/infisical/src/manager/cryptography/encrypt_symmetric.rs b/crates/infisical/src/manager/cryptography/encrypt_symmetric.rs index f9d9ca9..d898752 100644 --- a/crates/infisical/src/manager/cryptography/encrypt_symmetric.rs +++ b/crates/infisical/src/manager/cryptography/encrypt_symmetric.rs @@ -39,34 +39,26 @@ pub fn encrypt_symmetric(input: &EncryptSymmetricOptions) -> Result