Change the EVP_somecipher() and EVP_somedigest()
[openssl.git] / crypto / evp / m_ripemd.c
index 04c5d8897b9928b3bd0492924136255b8988fffd..976d5e59c4653fee32e3021e5ac57895c8388fd6 100644 (file)
  * [including the GNU Public Licence.]
  */
 
+#ifndef OPENSSL_NO_RIPEMD
 #include <stdio.h>
 #include "cryptlib.h"
-#include "evp.h"
-#include "objects.h"
-#include "x509.h"
+#include <openssl/ripemd.h>
+#include <openssl/evp.h>
+#include <openssl/objects.h>
+#include <openssl/x509.h>
 
-static EVP_MD ripemd160_md=
+static const EVP_MD ripemd160_md=
        {
        NID_ripemd160,
        NID_ripemd160WithRSA,
@@ -75,7 +77,8 @@ static EVP_MD ripemd160_md=
        sizeof(EVP_MD *)+sizeof(RIPEMD160_CTX),
        };
 
-EVP_MD *EVP_ripemd160()
+const EVP_MD *EVP_ripemd160(void)
        {
        return(&ripemd160_md);
        }
+#endif