summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp/m_dss.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/evp/m_dss.c')
-rw-r--r--src/lib/libcrypto/evp/m_dss.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/lib/libcrypto/evp/m_dss.c b/src/lib/libcrypto/evp/m_dss.c
index 3549b1699c..8ea826868e 100644
--- a/src/lib/libcrypto/evp/m_dss.c
+++ b/src/lib/libcrypto/evp/m_dss.c
@@ -58,10 +58,11 @@
58 58
59#include <stdio.h> 59#include <stdio.h>
60#include "cryptlib.h" 60#include "cryptlib.h"
61#include "evp.h" 61#include <openssl/evp.h>
62#include "objects.h" 62#include <openssl/objects.h>
63#include "x509.h" 63#include <openssl/x509.h>
64 64
65#ifndef NO_SHA
65static EVP_MD dsa_md= 66static EVP_MD dsa_md=
66 { 67 {
67 NID_dsaWithSHA, 68 NID_dsaWithSHA,
@@ -75,8 +76,8 @@ static EVP_MD dsa_md=
75 sizeof(EVP_MD *)+sizeof(SHA_CTX), 76 sizeof(EVP_MD *)+sizeof(SHA_CTX),
76 }; 77 };
77 78
78EVP_MD *EVP_dss() 79EVP_MD *EVP_dss(void)
79 { 80 {
80 return(&dsa_md); 81 return(&dsa_md);
81 } 82 }
82 83#endif