diff options
Diffstat (limited to 'src/lib/libcrypto/evp/m_dss1.c')
-rw-r--r-- | src/lib/libcrypto/evp/m_dss1.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/lib/libcrypto/evp/m_dss1.c b/src/lib/libcrypto/evp/m_dss1.c index ff256b7b20..9d8d1ce23e 100644 --- a/src/lib/libcrypto/evp/m_dss1.c +++ b/src/lib/libcrypto/evp/m_dss1.c | |||
@@ -56,11 +56,12 @@ | |||
56 | * [including the GNU Public Licence.] | 56 | * [including the GNU Public Licence.] |
57 | */ | 57 | */ |
58 | 58 | ||
59 | #ifndef NO_SHA | ||
59 | #include <stdio.h> | 60 | #include <stdio.h> |
60 | #include "cryptlib.h" | 61 | #include "cryptlib.h" |
61 | #include "evp.h" | 62 | #include <openssl/evp.h> |
62 | #include "objects.h" | 63 | #include <openssl/objects.h> |
63 | #include "x509.h" | 64 | #include <openssl/x509.h> |
64 | 65 | ||
65 | static EVP_MD dss1_md= | 66 | static EVP_MD dss1_md= |
66 | { | 67 | { |
@@ -75,7 +76,8 @@ static EVP_MD dss1_md= | |||
75 | sizeof(EVP_MD *)+sizeof(SHA_CTX), | 76 | sizeof(EVP_MD *)+sizeof(SHA_CTX), |
76 | }; | 77 | }; |
77 | 78 | ||
78 | EVP_MD *EVP_dss1() | 79 | EVP_MD *EVP_dss1(void) |
79 | { | 80 | { |
80 | return(&dss1_md); | 81 | return(&dss1_md); |
81 | } | 82 | } |
83 | #endif | ||