summaryrefslogtreecommitdiffstats
path: root/crypto/rsa/rsa_none.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2000-11-06 22:34:17 +0000
committerRichard Levitte <levitte@openssl.org>2000-11-06 22:34:17 +0000
commit29c1f0615baff7e213fd664798f5d4fc89adda26 (patch)
tree2b714450d387e4a17d8818cd6cc967c116b0581e /crypto/rsa/rsa_none.c
parent10e473e93003cf204fb06ee9ebc32aeca3430794 (diff)
Constify the RSA library.
Diffstat (limited to 'crypto/rsa/rsa_none.c')
-rw-r--r--crypto/rsa/rsa_none.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/rsa/rsa_none.c b/crypto/rsa/rsa_none.c
index f22fce5016..e6f3e627ca 100644
--- a/crypto/rsa/rsa_none.c
+++ b/crypto/rsa/rsa_none.c
@@ -62,8 +62,8 @@
#include <openssl/rsa.h>
#include <openssl/rand.h>
-int RSA_padding_add_none(unsigned char *to, int tlen, unsigned char *from,
- int flen)
+int RSA_padding_add_none(unsigned char *to, int tlen,
+ const unsigned char *from, int flen)
{
if (flen > tlen)
{
@@ -81,8 +81,8 @@ int RSA_padding_add_none(unsigned char *to, int tlen, unsigned char *from,
return(1);
}
-int RSA_padding_check_none(unsigned char *to, int tlen, unsigned char *from,
- int flen, int num)
+int RSA_padding_check_none(unsigned char *to, int tlen,
+ const unsigned char *from, int flen, int num)
{
if (flen > tlen)