X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fevp%2Fbio_md.c;h=76ff9fe815a0ff5366b77d34a2017adc866f8786;hp=27ec62f4b55064583267072a9917426a734a257f;hb=f5cda4cbb17c908ceef33f4f52d94e8e04b7c1ab;hpb=c128bb0fa28a34dede012892721047b7712ef62c diff --git a/crypto/evp/bio_md.c b/crypto/evp/bio_md.c index 27ec62f4b5..76ff9fe815 100644 --- a/crypto/evp/bio_md.c +++ b/crypto/evp/bio_md.c @@ -153,7 +153,7 @@ static int md_write(BIO *b, const char *in, int inl) { if (ret > 0) { - EVP_DigestUpdate(ctx,(unsigned char *)in, + EVP_DigestUpdate(ctx,(const unsigned char *)in, (unsigned int)ret); } }