Do no try to pretend we're at the end of anything unless we're at the end
[openssl.git] / crypto / evp / m_sha.c
index 64b397fa0302ad65c0eca9a494f7e089a1cc854e..e995c122e431670a1fcd6032ec2f4651e27a4399 100644 (file)
@@ -59,7 +59,7 @@
 #include <stdio.h>
 #include "cryptlib.h"
 
-#ifndef OPENSSL_NO_SHA
+#if !defined(OPENSSL_NO_SHA) && !defined(OPENSSL_NO_SHA0)
 
 #include <openssl/evp.h>
 #include <openssl/objects.h>