summaryrefslogtreecommitdiffstats
path: root/crypto/evp/encode.c
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>1999-09-06 11:06:54 +0000
committerBen Laurie <ben@openssl.org>1999-09-06 11:06:54 +0000
commit092ec334f023cdd97dc105110dada12308f9ec0d (patch)
tree393de4d285eec86f27d6d63ee8a56ae2de1fd9df /crypto/evp/encode.c
parent232616efce79504eb0a950ff45960049ed92f230 (diff)
Fix warnings.
Diffstat (limited to 'crypto/evp/encode.c')
-rw-r--r--crypto/evp/encode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/evp/encode.c b/crypto/evp/encode.c
index 0152624a76..14a4cb11f6 100644
--- a/crypto/evp/encode.c
+++ b/crypto/evp/encode.c
@@ -185,7 +185,7 @@ void EVP_EncodeFinal(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl)
*outl=ret;
}
-int EVP_EncodeBlock(unsigned char *t, unsigned char *f, int dlen)
+int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int dlen)
{
int i,ret=0;
unsigned long l;
@@ -337,7 +337,7 @@ end:
return(rv);
}
-int EVP_DecodeBlock(unsigned char *t, unsigned char *f, int n)
+int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n)
{
int i,ret=0,a,b,c,d;
unsigned long l;