New functions BN_CTX_start(), BN_CTX_get(), BN_CTX_end() to access
[openssl.git] / crypto / evp / m_dss.c
index 3549b1699c0d9fa1775a6fa13954ef290eefb4da..8ea826868eab319343872ee9d5cdb406fcd6a5d8 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>
 
+#ifndef NO_SHA
 static EVP_MD dsa_md=
        {
        NID_dsaWithSHA,
@@ -75,8 +76,8 @@ static EVP_MD dsa_md=
        sizeof(EVP_MD *)+sizeof(SHA_CTX),
        };
 
-EVP_MD *EVP_dss()
+EVP_MD *EVP_dss(void)
        {
        return(&dsa_md);
        }
-
+#endif