From e778802f53c8d47e96a6e4cbc776eb6e1d4c461a Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Sat, 17 Apr 1999 21:25:43 +0000 Subject: Massive constification. --- crypto/evp/bio_enc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crypto/evp/bio_enc.c') diff --git a/crypto/evp/bio_enc.c b/crypto/evp/bio_enc.c index ad09b94b1a..e1443d684d 100644 --- a/crypto/evp/bio_enc.c +++ b/crypto/evp/bio_enc.c @@ -405,7 +405,7 @@ EVP_CIPHER_ctx *c; void BIO_set_cipher(b,c,k,i,e) BIO *b; -EVP_CIPHER *c; +const EVP_CIPHER *c; unsigned char *k; unsigned char *i; int e; @@ -415,7 +415,7 @@ int e; if (b == NULL) return; if ((b->callback != NULL) && - (b->callback(b,BIO_CB_CTRL,(char *)c,BIO_CTRL_SET,e,0L) <= 0)) + (b->callback(b,BIO_CB_CTRL,(const char *)c,BIO_CTRL_SET,e,0L) <= 0)) return; b->init=1; @@ -423,6 +423,6 @@ int e; EVP_CipherInit(&(ctx->cipher),c,k,i,e); if (b->callback != NULL) - b->callback(b,BIO_CB_CTRL,(char *)c,BIO_CTRL_SET,e,1L); + b->callback(b,BIO_CB_CTRL,(const char *)c,BIO_CTRL_SET,e,1L); } -- cgit v1.2.3