Code cleaning and report progress.
[crypto_lab1.git] / lab1_rust / src / packet.rs
index 95468a1..c81fe20 100644 (file)
@@ -158,7 +158,7 @@ impl Packet {
          _ => ()
       }
 
-      // Compute the MAC. It depends the choosen variant.
+      // Compute the MAC. It depends of the choosen variant.
       let mac = crypto::compute_mac(data.slice_to(match variant { Weak => data_size, _ => data.len() }));
 
       // Encrypt.