summaryrefslogtreecommitdiff
path: root/arc4.cpp
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2007-04-16 21:27:41 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2007-04-16 21:27:41 +0000
commit9e4d75dae49a12568ca06135b1beb07ebf6def2d (patch)
tree81e5d1810a0a25fa10d3067481851de431fe4086 /arc4.cpp
parentf97f957e48a69ca40674a05cd50ec66a6f3d8c18 (diff)
downloadcryptopp-9e4d75dae49a12568ca06135b1beb07ebf6def2d.tar.gz
move ARC4 into Weak namespace
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@326 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'arc4.cpp')
-rw-r--r--arc4.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/arc4.cpp b/arc4.cpp
index b78b756..0beeb24 100644
--- a/arc4.cpp
+++ b/arc4.cpp
@@ -7,9 +7,11 @@
// completely in the public domain.
#include "pch.h"
+#define CRYPTOPP_ENABLE_NAMESPACE_WEAK
#include "arc4.h"
NAMESPACE_BEGIN(CryptoPP)
+namespace Weak {
void ARC4_TestInstantiations()
{
@@ -113,4 +115,5 @@ void ARC4_Base::DiscardBytes(size_t length)
m_y = y;
}
+}
NAMESPACE_END