Portability patch for HP MPE/iX. Submitted by Mark Bixby <mark_bixby@hp.com>
[oweals/openssl.git] / crypto / evp / m_md2.c
index 2209416142de128d77db5009de354f52c80336fe..3281e91809f41f75fcaf6f00263dd898e1478838 100644 (file)
  * [including the GNU Public Licence.]
  */
 
+#ifndef NO_MD2
 #include <stdio.h>
 #include "cryptlib.h"
-#include "evp.h"
-#include "objects.h"
-#include "x509.h"
+#include <openssl/evp.h>
+#include <openssl/objects.h>
+#include <openssl/x509.h>
 
 static EVP_MD md2_md=
        {
@@ -75,8 +76,8 @@ static EVP_MD md2_md=
        sizeof(EVP_MD *)+sizeof(MD2_CTX),
        };
 
-EVP_MD *EVP_md2()
+EVP_MD *EVP_md2(void)
        {
        return(&md2_md);
        }
-
+#endif