aboutsummaryrefslogtreecommitdiffstats
path: root/src/pubkey/rsa/rsa.cpp
diff options
context:
space:
mode:
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;