diff options
author | Jeffrey Walton <noloader@gmail.com> | 2018-04-05 20:34:08 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2018-04-05 20:34:08 -0400 |
commit | 62a9574f3fd60cd5cb6d34841e20b63f239e166f (patch) | |
tree | 0a617841ad6bb4285952d7b02d11416db687d634 /cryptlib.cpp | |
parent | 5aec2a4ab0233fe90f83501a1abc838f7c0e2de4 (diff) | |
download | cryptopp-git-62a9574f3fd60cd5cb6d34841e20b63f239e166f.tar.gz |
Make AuthenticatedSymmetricCipher::AlgorithmName non-pure
Also see https://stackoverflow.com/q/49658309/608639
Diffstat (limited to 'cryptlib.cpp')
-rw-r--r-- | cryptlib.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cryptlib.cpp b/cryptlib.cpp index d7fa4df0..2b232dcf 100644 --- a/cryptlib.cpp +++ b/cryptlib.cpp @@ -268,6 +268,12 @@ bool AuthenticatedSymmetricCipher::DecryptAndVerify(byte *message, const byte *m return TruncatedVerify(mac, macLength);
}
+std::string AuthenticatedSymmetricCipher::AlgorithmName() const
+{
+ // Squash C4505 on Visual Studio 2008 and friends
+ return "Unknown";
+}
+
unsigned int RandomNumberGenerator::GenerateBit()
{
return GenerateByte() & 1;
|