From 454375975950f908d170f985a1d691dbe51a36cf Mon Sep 17 00:00:00 2001 From: Justin W Smith <103147162+justsmth@users.noreply.github.com> Date: Wed, 2 Oct 2024 17:34:43 -0400 Subject: [PATCH] Update aws-lc-rs/src/kem.rs Co-authored-by: Samuel Chiang --- aws-lc-rs/src/kem.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws-lc-rs/src/kem.rs b/aws-lc-rs/src/kem.rs index e57465ed894..fadcbb98005 100644 --- a/aws-lc-rs/src/kem.rs +++ b/aws-lc-rs/src/kem.rs @@ -641,7 +641,7 @@ mod tests { let alice_secret = priv_key .decapsulate(ciphertext) - .expect("encapsulate successful"); + .expect("decapsulate successful"); assert_eq!(alice_secret.as_ref(), bob_secret.as_ref()); }