Stop PKCS7_verify() core dumping with unknown public
[openssl.git] / crypto / evp / m_mdc2.c
index 2e5962860e35f89457ed770c65d4f0dc5509f7bb..3e224fd42e48d615a1142c55499785782ac10afd 100644 (file)
@@ -56,6 +56,7 @@
  * [including the GNU Public Licence.]
  */
 
+#ifndef OPENSSL_NO_MDC2
 #include <stdio.h>
 #include "cryptlib.h"
 #include <openssl/evp.h>
@@ -79,3 +80,4 @@ EVP_MD *EVP_mdc2(void)
        {
        return(&mdc2_md);
        }
+#endif