summaryrefslogtreecommitdiffstats
path: root/crypto/rsa/rsa_sign.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2006-04-10 01:06:17 +0000
committerDr. Stephen Henson <steve@openssl.org>2006-04-10 01:06:17 +0000
commit4f59b6587f1c660dfe61c368ede1c4e34e03164d (patch)
tree2dc9e18b2278c9e40aa8c4b3bbdf154f86310d61 /crypto/rsa/rsa_sign.c
parent9befdf1d2072f3366086583462332cf6f2bc1540 (diff)
Implementation of pkey_rsa_verify. Some constification.
Diffstat (limited to 'crypto/rsa/rsa_sign.c')
-rw-r--r--crypto/rsa/rsa_sign.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/rsa/rsa_sign.c b/crypto/rsa/rsa_sign.c
index 4d48164b77..52c8c985d0 100644
--- a/crypto/rsa/rsa_sign.c
+++ b/crypto/rsa/rsa_sign.c
@@ -144,7 +144,7 @@ int RSA_sign(int type, const unsigned char *m, unsigned int m_len,
int int_rsa_verify(int dtype, const unsigned char *m, unsigned int m_len,
unsigned char *rm, unsigned int *prm_len,
- unsigned char *sigbuf, unsigned int siglen,
+ const unsigned char *sigbuf, unsigned int siglen,
RSA *rsa)
{
int i,ret=0,sigtype;
@@ -252,7 +252,7 @@ err:
}
int RSA_verify(int dtype, const unsigned char *m, unsigned int m_len,
- unsigned char *sigbuf, unsigned int siglen,
+ const unsigned char *sigbuf, unsigned int siglen,
RSA *rsa)
{