summaryrefslogtreecommitdiff
path: root/rsa.cpp
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-07-18 04:35:30 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-07-18 04:35:30 +0000
commita89df27c0f7ded0a673dc84ce0b0e24c6d05e0d0 (patch)
treea25c153b42dc3f510a7981a031bd04dfa0a7a712 /rsa.cpp
parent656db5504c8c656d3981fed232da44b2f28b1feb (diff)
downloadcryptopp-a89df27c0f7ded0a673dc84ce0b0e24c6d05e0d0.tar.gz
misc changes
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@103 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'rsa.cpp')
-rw-r--r--rsa.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/rsa.cpp b/rsa.cpp
index 1e00a6c..eb68a67 100644
--- a/rsa.cpp
+++ b/rsa.cpp
@@ -12,11 +12,7 @@
#if !defined(NDEBUG) && !defined(CRYPTOPP_IS_DLL)
#include "pssr.h"
-#endif
-
NAMESPACE_BEGIN(CryptoPP)
-
-#if !defined(NDEBUG) && !defined(CRYPTOPP_IS_DLL)
void RSA_TestInstantiations()
{
RSASS<PKCS1v15, SHA>::Verifier x1(1, 1);
@@ -37,10 +33,13 @@ void RSA_TestInstantiations()
x4 = x2.GetKey();
}
+NAMESPACE_END
#endif
#ifndef CRYPTOPP_IMPORTS
+NAMESPACE_BEGIN(CryptoPP)
+
OID RSAFunction::GetAlgorithmID() const
{
return ASN1::rsaEncryption();
@@ -276,6 +275,6 @@ void InvertibleRSAFunction::AssignFrom(const NameValuePairs &source)
;
}
-#endif
-
NAMESPACE_END
+
+#endif