Make sure we get the definition of OPENSSL_NO_SHA.
[openssl.git] / crypto / evp / m_sha.c
index acb7a44c5ebe49cc2b93d4fd94fe9b5fced76fc7..a3343bb2eb8e87847089b0417429278f15bd28e3 100644 (file)
  * [including the GNU Public Licence.]
  */
 
-#ifndef OPENSSL_NO_SHA
 #include <stdio.h>
 #include "cryptlib.h"
+
+#ifndef OPENSSL_NO_SHA
+
 #include <openssl/evp.h>
 #include <openssl/objects.h>
 #include <openssl/x509.h>
@@ -82,6 +84,7 @@ static const EVP_MD sha_md=
        update,
        final,
        NULL,
+       NULL,
        EVP_PKEY_RSA_method,
        SHA_CBLOCK,
        sizeof(EVP_MD *)+sizeof(SHA_CTX),