diff options
Diffstat (limited to 'src/lib/libcrypto/evp/m_dss.c')
-rw-r--r-- | src/lib/libcrypto/evp/m_dss.c | 11 |
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 | ||
65 | static EVP_MD dsa_md= | 66 | static 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 | ||
78 | EVP_MD *EVP_dss() | 79 | EVP_MD *EVP_dss(void) |
79 | { | 80 | { |
80 | return(&dsa_md); | 81 | return(&dsa_md); |
81 | } | 82 | } |
82 | 83 | #endif | |