소스 검색

bin/tau: fix minor typo

Dastan-glitch 4 년 전
부모
커밋
3dbf8b6c80
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      bin/tau/taud/src/crypto.rs

+ 1 - 1
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 nad use it to decrypt the payload
+    // Extract the nonce and 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,