Massive constification.
[openssl.git] / crypto / evp / bio_ok.c
index 174ecdeb3949d7ee9b795cd0dc9e201bc811cf39..09ce86f3ce8df18cb57c677781b5ddca4d4b1802 100644 (file)
@@ -371,7 +371,7 @@ char *ptr;
        {
        BIO_OK_CTX *ctx;
        EVP_MD *md;
-       EVP_MD **ppmd;
+       const EVP_MD **ppmd;
        long ret=1;
        int i;
 
@@ -440,7 +440,7 @@ char *ptr;
        case BIO_C_GET_MD:
                if (b->init)
                        {
-                       ppmd=(EVP_MD **)ptr;
+                       ppmd=(const EVP_MD **)ptr;
                        *ppmd=ctx->md.digest;
                        }
                else