X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fevp%2Fm_sha1.c;h=ddc905179441f2ef95e1803877af18fb61be2832;hp=879b04371c089ccf04e8b31977ed24d06055369a;hb=135883505078a868349e0a3c24514099e3cb2dac;hpb=754d494bef083e7f4c8733e7142555726ca7efef;ds=sidebyside diff --git a/crypto/evp/m_sha1.c b/crypto/evp/m_sha1.c index 879b04371c..ddc9051794 100644 --- a/crypto/evp/m_sha1.c +++ b/crypto/evp/m_sha1.c @@ -63,7 +63,7 @@ #include #include -static EVP_MD sha1_md= +static const EVP_MD sha1_md= { NID_sha1, NID_sha1WithRSAEncryption, @@ -76,7 +76,7 @@ static EVP_MD sha1_md= sizeof(EVP_MD *)+sizeof(SHA_CTX), }; -EVP_MD *EVP_sha1(void) +const EVP_MD *EVP_sha1(void) { return(&sha1_md); }