]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/evp/digest.c
Massive constification.
[thirdparty/openssl.git] / crypto / evp / digest.c
index 7ef0e73b5a5aa37f57142a754171f09e8a8a38e4..e2604ac8ca2ac7b6c190c6508d1da7062b37a53d 100644 (file)
@@ -63,7 +63,7 @@
 
 void EVP_DigestInit(ctx,type)
 EVP_MD_CTX *ctx;
-EVP_MD *type;
+const EVP_MD *type;
        {
        ctx->digest=type;
        type->init(&(ctx->md));
@@ -71,7 +71,7 @@ EVP_MD *type;
 
 void EVP_DigestUpdate(ctx,data,count)
 EVP_MD_CTX *ctx;
-unsigned char *data;
+const unsigned char *data;
 unsigned int count;
        {
        ctx->digest->update(&(ctx->md.base[0]),data,(unsigned long)count);