Make sure we get the definition of OPENSSL_NO_RIPEMD.
[openssl.git] / crypto / evp / m_ripemd.c
index 0bfc04c12fa9042e9dfc0f886db9564b4a5831cc..ca8ed75851dc5fb10524185fadc56618e72e6968 100644 (file)
  * [including the GNU Public Licence.]
  */
 
-#ifndef OPENSSL_NO_RIPEMD
 #include <stdio.h>
 #include "cryptlib.h"
+
+#ifndef OPENSSL_NO_RIPEMD
+
 #include <openssl/ripemd.h>
 #include <openssl/evp.h>
 #include <openssl/objects.h>
@@ -83,6 +85,7 @@ static const EVP_MD ripemd160_md=
        update,
        final,
        NULL,
+       NULL,
        EVP_PKEY_RSA_method,
        RIPEMD160_CBLOCK,
        sizeof(EVP_MD *)+sizeof(RIPEMD160_CTX),