From 767d4a2c0e7b43da4543e31c47fb61de867e75d9 Mon Sep 17 00:00:00 2001 From: acetone Date: Sat, 18 Jun 2022 04:48:52 -0400 Subject: [PATCH] throw message typo --- x25519.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x25519.cpp b/x25519.cpp index a2e673e..6be6508 100644 --- a/x25519.cpp +++ b/x25519.cpp @@ -135,7 +135,7 @@ void X25519Keys::setSecretKey (const std::vector& priv, bool calculateP { if (priv.size() != 32) { - throw std::runtime_error ("X25519Keys::setPrivateKey priv array size != 32"); + throw std::runtime_error ("X25519Keys::setSecretKey priv array size != 32"); } setSecretKey (priv.data(), calculatePublic); }