summaryrefslogtreecommitdiffstats
path: root/crypto/evp/encode.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2004-03-15 23:15:26 +0000
committerRichard Levitte <levitte@openssl.org>2004-03-15 23:15:26 +0000
commit875a644a9047e96dfcce27af876d30460759805e (patch)
tree901dfcdc9d6e9a7fb676e5e80689bddfd05c4338 /crypto/evp/encode.c
parentec37635c948e2cda2dc55e8b3630f516a4b06fd7 (diff)
Constify d2i, s2i, c2i and r2i functions and other associated
functions and macros. This change has associated tags: LEVITTE_before_const and LEVITTE_after_const. Those will be removed when this change has been properly reviewed.
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 32744ca686..2968f6460a 100644
--- a/crypto/evp/encode.c
+++ b/crypto/evp/encode.c
@@ -129,7 +129,7 @@ void EVP_EncodeInit(EVP_ENCODE_CTX *ctx)
}
void EVP_EncodeUpdate(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl,
- unsigned char *in, int inl)
+ const unsigned char *in, int inl)
{
int i,j;
unsigned int total=0;
@@ -233,7 +233,7 @@ void EVP_DecodeInit(EVP_ENCODE_CTX *ctx)
* 1 for full line
*/
int EVP_DecodeUpdate(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl,
- unsigned char *in, int inl)
+ const unsigned char *in, int inl)
{
int seof= -1,eof=0,rv= -1,ret=0,i,v,tmp,n,ln,tmp2,exp_nl;
unsigned char *d;