aboutsummaryrefslogtreecommitdiffstats
path: root/src/pubkey/rsa/rsa.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-03-05 16:40:49 +0000
committerlloyd <[email protected]>2010-03-05 16:40:49 +0000
commit8df87a70435cae25e30f7045f7799537857e13d4 (patch)
treeea66d8941cf7c675dcac7e0944139f9b94eb8103 /src/pubkey/rsa/rsa.cpp
parentce88e2c6918bb012321e1d7599c2a13b9ba9301e (diff)
Constify sign and verify ops
Diffstat (limited to 'src/pubkey/rsa/rsa.cpp')
-rw-r--r--src/pubkey/rsa/rsa.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pubkey/rsa/rsa.cpp b/src/pubkey/rsa/rsa.cpp
index 76165090e..910fddb95 100644
--- a/src/pubkey/rsa/rsa.cpp
+++ b/src/pubkey/rsa/rsa.cpp
@@ -130,9 +130,9 @@ RSA_Signature_Operation::RSA_Signature_Operation(const RSA_PrivateKey& rsa) :
{
}
-SecureVector<byte> RSA_Signature_Operation::sign(const byte msg[],
- u32bit msg_len,
- RandomNumberGenerator&)
+SecureVector<byte>
+RSA_Signature_Operation::sign(const byte msg[], u32bit msg_len,
+ RandomNumberGenerator&) const
{
const u32bit n_bytes = (n_bits + 7) / 8;