From a1b2fbd81c77dd16c4d7a590d77c1c90c5218107 Mon Sep 17 00:00:00 2001 From: Chris Copeland Date: Fri, 13 Dec 2024 20:05:31 -0800 Subject: [PATCH] fix error message in rust verify.rs --- rust/bin/verify.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/bin/verify.rs b/rust/bin/verify.rs index 39fe2ee..8bf9085 100644 --- a/rust/bin/verify.rs +++ b/rust/bin/verify.rs @@ -22,7 +22,7 @@ fn main() -> std::io::Result<()> { let pk: [u8; liblithium::sign::PUBLIC_KEY_LEN] = read(pk_path)? .as_slice() .try_into() - .expect("incorrect secret key length"); + .expect("incorrect public key length"); let sig: [u8; liblithium::sign::SIGN_LEN] = read(sig_path)? .as_slice() .try_into()