Display proper digest name when digest is not found (#4588)

This commit is contained in:
Marc Schlatter
2024-07-24 13:06:25 +02:00
committed by GitHub
parent 7064ae3c2d
commit 891c1e03bf

View File

@@ -65,7 +65,7 @@ CipherKeyImpl::CipherKeyImpl(const std::string& name,
_pDigest = EVP_get_digestbyname(digest.c_str());
if (!_pDigest)
throw Poco::NotFoundException("Digest " + name + " was not found");
throw Poco::NotFoundException("Digest " + digest + " was not found");
_key = ByteVec(keySize());
_iv = ByteVec(ivSize());