X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=crypto%2Fevp%2Fm_mdc2.c;h=04fe37dc444e0211092eeaa8cc92c839c65c983b;hb=7ae551fd03b447e41d3a74e803a711350383ebc4;hp=2c7f1ae515a809051a000f85759b2c2c5851e8df;hpb=d02f751ce1d13183a0c0e5528ec89f76587ed989;p=oweals%2Fopenssl.git diff --git a/crypto/evp/m_mdc2.c b/crypto/evp/m_mdc2.c index 2c7f1ae515..04fe37dc44 100644 --- a/crypto/evp/m_mdc2.c +++ b/crypto/evp/m_mdc2.c @@ -56,14 +56,14 @@ * [including the GNU Public Licence.] */ -#ifndef NO_MDC2 +#ifndef OPENSSL_NO_MDC2 #include #include "cryptlib.h" #include #include #include -static EVP_MD mdc2_md= +static const EVP_MD mdc2_md= { NID_mdc2, NID_mdc2WithRSA, @@ -76,7 +76,7 @@ static EVP_MD mdc2_md= sizeof(EVP_MD *)+sizeof(MDC2_CTX), }; -EVP_MD *EVP_mdc2(void) +const EVP_MD *EVP_mdc2(void) { return(&mdc2_md); }