Change the EVP_somecipher() and EVP_somedigest()
[openssl.git] / crypto / evp / m_dss.c
index 3549b1699c0d9fa1775a6fa13954ef290eefb4da..1a10f676587bc6877139f595c836fb1fa016c9c1 100644 (file)
 
 #include <stdio.h>
 #include "cryptlib.h"
-#include "evp.h"
-#include "objects.h"
-#include "x509.h"
+#include <openssl/evp.h>
+#include <openssl/objects.h>
+#include <openssl/x509.h>
 
-static EVP_MD dsa_md=
+#ifndef OPENSSL_NO_SHA
+static const EVP_MD dsa_md=
        {
        NID_dsaWithSHA,
        NID_dsaWithSHA,
@@ -75,8 +76,8 @@ static EVP_MD dsa_md=
        sizeof(EVP_MD *)+sizeof(SHA_CTX),
        };
 
-EVP_MD *EVP_dss()
+const EVP_MD *EVP_dss(void)
        {
        return(&dsa_md);
        }
-
+#endif