summaryrefslogtreecommitdiff
path: root/md2.cpp
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2007-04-15 22:59:12 +0000
committerweidai <weidai11@users.noreply.github.com>2007-04-15 22:59:12 +0000
commit45fab64526e5cb2e14465693717f78db280d3647 (patch)
tree90265bc8d0eedc1d917c58dc6a126ff3da19d1bc /md2.cpp
parent837bc18cba61043c59a6f46654fba82642592601 (diff)
downloadcryptopp-git-45fab64526e5cb2e14465693717f78db280d3647.tar.gz
move MD2, MD4, MD5, PanamaHash, WAKE_CFB into the namespace 'Weak'
Diffstat (limited to 'md2.cpp')
-rw-r--r--md2.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/md2.cpp b/md2.cpp
index 1021932f..9e07712f 100644
--- a/md2.cpp
+++ b/md2.cpp
@@ -15,10 +15,12 @@
*/
#include "pch.h"
+#define CRYPTOPP_ENABLE_NAMESPACE_WEAK
#include "md2.h"
NAMESPACE_BEGIN(CryptoPP)
-
+namespace Weak {
+
MD2::MD2()
: m_X(48), m_C(16), m_buf(16)
{
@@ -114,4 +116,5 @@ void MD2::TruncatedFinal(byte *hash, size_t size)
Init();
}
+}
NAMESPACE_END