summaryrefslogtreecommitdiff
path: root/crypto/evp/m_mdc2.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/evp/m_mdc2.c')
-rw-r--r--crypto/evp/m_mdc2.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/crypto/evp/m_mdc2.c b/crypto/evp/m_mdc2.c
index 9f9bcf06ed2d..3602bed316a4 100644
--- a/crypto/evp/m_mdc2.c
+++ b/crypto/evp/m_mdc2.c
@@ -58,7 +58,6 @@
#include <stdio.h>
#include "cryptlib.h"
-#include "evp_locl.h"
#ifndef OPENSSL_NO_MDC2
@@ -66,7 +65,11 @@
#include <openssl/objects.h>
#include <openssl/x509.h>
#include <openssl/mdc2.h>
+#ifndef OPENSSL_NO_RSA
#include <openssl/rsa.h>
+#endif
+
+#include "evp_locl.h"
static int init(EVP_MD_CTX *ctx)
{ return MDC2_Init(ctx->md_data); }