summaryrefslogtreecommitdiff
path: root/src/lib/libssl/src/crypto/rsa/rsa_none.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/src/crypto/rsa/rsa_none.c')
-rw-r--r--src/lib/libssl/src/crypto/rsa/rsa_none.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libssl/src/crypto/rsa/rsa_none.c b/src/lib/libssl/src/crypto/rsa/rsa_none.c
index f22fce5016..e6f3e627ca 100644
--- a/src/lib/libssl/src/crypto/rsa/rsa_none.c
+++ b/src/lib/libssl/src/crypto/rsa/rsa_none.c
@@ -62,8 +62,8 @@
62#include <openssl/rsa.h> 62#include <openssl/rsa.h>
63#include <openssl/rand.h> 63#include <openssl/rand.h>
64 64
65int RSA_padding_add_none(unsigned char *to, int tlen, unsigned char *from, 65int RSA_padding_add_none(unsigned char *to, int tlen,
66 int flen) 66 const unsigned char *from, int flen)
67 { 67 {
68 if (flen > tlen) 68 if (flen > tlen)
69 { 69 {
@@ -81,8 +81,8 @@ int RSA_padding_add_none(unsigned char *to, int tlen, unsigned char *from,
81 return(1); 81 return(1);
82 } 82 }
83 83
84int RSA_padding_check_none(unsigned char *to, int tlen, unsigned char *from, 84int RSA_padding_check_none(unsigned char *to, int tlen,
85 int flen, int num) 85 const unsigned char *from, int flen, int num)
86 { 86 {
87 87
88 if (flen > tlen) 88 if (flen > tlen)