From 0be7b7facfbea38da5313fd01e0fe206d09907f7 Mon Sep 17 00:00:00 2001 From: Dastan-glitch Date: Wed, 25 May 2022 22:51:34 +0000 Subject: [PATCH] Revert "bin/tau: fix minor typo" This reverts commit 3dbf8b6c80f4a7c46f3c18b1cb2b7dbacd3dfbba. --- bin/tau/taud/src/crypto.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/tau/taud/src/crypto.rs b/bin/tau/taud/src/crypto.rs index 443760f54..079b60f90 100644 --- a/bin/tau/taud/src/crypto.rs +++ b/bin/tau/taud/src/crypto.rs @@ -44,7 +44,7 @@ pub fn decrypt_task(encrypted_task: &EncryptedTask, secret_key: &SecretKey) -> O let public_key = secret_key.public_key(); let msg_box = Box::new(&public_key, secret_key); - // Extract the nonce and use it to decrypt the payload + // Extract the nonce nad use it to decrypt the payload let nonce = encrypted_task.nonce.as_slice(); let decrypted_task = match msg_box.decrypt(nonce.into(), &encrypted_task.payload[..]) { Ok(m) => m,