mirror of
https://github.com/pocoproject/poco.git
synced 2025-11-01 21:13:10 +01:00
Display proper digest name when digest is not found (#4588)
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user