throw message typo

main
const an teen 2022-06-18 04:48:52 -04:00
parent f1b2bcb719
commit 767d4a2c0e
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ void X25519Keys::setSecretKey (const std::vector<uint8_t>& 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);
}