From 572fe07633123ce38abf28c6426356e37aef3a99 Mon Sep 17 00:00:00 2001 From: weidai Date: Fri, 4 Jul 2003 00:17:37 +0000 Subject: create DLL version, fix GetNextIV() bug in CTR and OFB modes git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@87 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- rsa.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'rsa.cpp') diff --git a/rsa.cpp b/rsa.cpp index 76d4aa9..4ed1ca0 100644 --- a/rsa.cpp +++ b/rsa.cpp @@ -10,15 +10,15 @@ #include "algparam.h" #include "fips140.h" -#ifndef NDEBUG +#if !defined(NDEBUG) && defined(CRYPTOPP_NO_DLL) #include "pssr.h" #endif -#include "oaep.cpp" - NAMESPACE_BEGIN(CryptoPP) -#ifndef NDEBUG +byte OAEP_P_DEFAULT[1]; + +#if !defined(NDEBUG) && defined(CRYPTOPP_NO_DLL) void RSA_TestInstantiations() { RSASS::Verifier x1(1, 1); @@ -41,7 +41,7 @@ void RSA_TestInstantiations() } #endif -template class OAEP; +#ifndef CRYPTOPP_IMPORTS OID RSAFunction::GetAlgorithmID() const { @@ -278,4 +278,6 @@ void InvertibleRSAFunction::AssignFrom(const NameValuePairs &source) ; } +#endif + NAMESPACE_END -- cgit v1.2.1