summaryrefslogtreecommitdiff
path: root/rsa.cpp
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-03-20 20:39:59 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-03-20 20:39:59 +0000
commitec56662ba7b4cfaf1335a88854127fac06f376aa (patch)
treec85dd5aa14780d400b30c133fa3704b044d1bbb2 /rsa.cpp
parent4feec7c333fd1ec92d1dd8c7f741249e3919ec5e (diff)
downloadcryptopp-ec56662ba7b4cfaf1335a88854127fac06f376aa.tar.gz
fix warnings for VC7 and GCC
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@43 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'rsa.cpp')
-rw-r--r--rsa.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/rsa.cpp b/rsa.cpp
index 9d690b9..62e9592 100644
--- a/rsa.cpp
+++ b/rsa.cpp
@@ -26,17 +26,17 @@ void RSA_TestInstantiations()
RSASS<PKCS1v15, SHA>::Verifier x3(x2);
RSASS<PKCS1v15, SHA>::Verifier x4(x2.GetKey());
RSASS<PSS, SHA>::Verifier x5(x3);
+#ifndef __MWERKS__
RSASS<PSSR, SHA>::Signer x6 = x2;
+ x3 = x2;
+ x6 = x2;
+#endif
RSAES<PKCS1v15>::Encryptor x7(x2);
#ifndef __GNUC__
RSAES<PKCS1v15>::Encryptor x8(x3);
#endif
RSAES<OAEP<SHA> >::Encryptor x9(x2);
- x6 = x2;
-#ifndef __MWERKS__
- x3 = x2;
-#endif
x4 = x2.GetKey();
}
#endif