Add BUF_strndup() and BUF_memdup(). Not currently used, but I've code
[openssl.git] / crypto / evp / m_dss1.c
index be27d63da05946568690317fa571b210284a2fe9..9a0ebe0a509b7a8920ccea9b7dc45c70cd6d8a45 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 dss1_md=
        update,
        final,
        NULL,
+       NULL,
        EVP_PKEY_DSA_method,
        SHA_CBLOCK,
        sizeof(EVP_MD *)+sizeof(SHA_CTX),