summaryrefslogtreecommitdiffstats
path: root/crypto/evp/bio_md.c
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>1999-04-17 21:25:43 +0000
committerBen Laurie <ben@openssl.org>1999-04-17 21:25:43 +0000
commite778802f53c8d47e96a6e4cbc776eb6e1d4c461a (patch)
tree719d4dd0fc69b355c6d8329af1f90b2c4f603548 /crypto/evp/bio_md.c
parentd77b3054cd87c2b13fa0169931f74b8e0dac5252 (diff)
Massive constification.
Diffstat (limited to 'crypto/evp/bio_md.c')
-rw-r--r--crypto/evp/bio_md.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/evp/bio_md.c b/crypto/evp/bio_md.c
index fa5fdc055b..51dd1aa0c9 100644
--- a/crypto/evp/bio_md.c
+++ b/crypto/evp/bio_md.c
@@ -185,7 +185,7 @@ long num;
char *ptr;
{
EVP_MD_CTX *ctx,*dctx,**pctx;
- EVP_MD **ppmd;
+ const EVP_MD **ppmd;
EVP_MD *md;
long ret=1;
BIO *dbio;
@@ -204,7 +204,7 @@ char *ptr;
case BIO_C_GET_MD:
if (b->init)
{
- ppmd=(EVP_MD **)ptr;
+ ppmd=(const EVP_MD **)ptr;
*ppmd=ctx->digest;
}
else