summaryrefslogtreecommitdiff
path: root/rsa.cpp
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2003-07-18 04:35:30 +0000
committerweidai <weidai11@users.noreply.github.com>2003-07-18 04:35:30 +0000
commit5b2008101cb8123db25bbe99a2e3688fc426edbc (patch)
treea25c153b42dc3f510a7981a031bd04dfa0a7a712 /rsa.cpp
parentb3d4024665640987ee62a348cfc3e9cfe7e1536e (diff)
downloadcryptopp-git-5b2008101cb8123db25bbe99a2e3688fc426edbc.tar.gz
misc changes
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 1e00a6cf..eb68a67f 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