throw message typo
parent
f1b2bcb719
commit
767d4a2c0e
|
@ -135,7 +135,7 @@ void X25519Keys::setSecretKey (const std::vector<uint8_t>& priv, bool calculateP
|
||||||
{
|
{
|
||||||
if (priv.size() != 32)
|
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);
|
setSecretKey (priv.data(), calculatePublic);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue