summaryrefslogtreecommitdiff
path: root/rsa.cpp
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2003-03-20 20:39:59 +0000
committerweidai <weidai11@users.noreply.github.com>2003-03-20 20:39:59 +0000
commit6698a186066d6efb239fcfc13f296794b9d7dda2 (patch)
treec85dd5aa14780d400b30c133fa3704b044d1bbb2 /rsa.cpp
parent067b425053134d8d5d44e1ecb8907ea28b985a68 (diff)
downloadcryptopp-git-6698a186066d6efb239fcfc13f296794b9d7dda2.tar.gz
fix warnings for VC7 and GCC
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 9d690b95..62e95921 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