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