diff options
Diffstat (limited to 'src/lib/libcrypto/evp/m_dss.c')
-rw-r--r-- | src/lib/libcrypto/evp/m_dss.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/lib/libcrypto/evp/m_dss.c b/src/lib/libcrypto/evp/m_dss.c index a948c77fa4..d393eb3400 100644 --- a/src/lib/libcrypto/evp/m_dss.c +++ b/src/lib/libcrypto/evp/m_dss.c | |||
@@ -61,16 +61,12 @@ | |||
61 | #include <openssl/evp.h> | 61 | #include <openssl/evp.h> |
62 | #include <openssl/objects.h> | 62 | #include <openssl/objects.h> |
63 | #include <openssl/x509.h> | 63 | #include <openssl/x509.h> |
64 | #ifndef OPENSSL_NO_DSA | ||
65 | #include <openssl/dsa.h> | ||
66 | #endif | ||
67 | 64 | ||
68 | #ifndef OPENSSL_NO_SHA | 65 | #ifndef OPENSSL_NO_SHA |
69 | |||
70 | static int init(EVP_MD_CTX *ctx) | 66 | static int init(EVP_MD_CTX *ctx) |
71 | { return SHA1_Init(ctx->md_data); } | 67 | { return SHA1_Init(ctx->md_data); } |
72 | 68 | ||
73 | static int update(EVP_MD_CTX *ctx,const void *data,size_t count) | 69 | static int update(EVP_MD_CTX *ctx,const void *data,unsigned long count) |
74 | { return SHA1_Update(ctx->md_data,data,count); } | 70 | { return SHA1_Update(ctx->md_data,data,count); } |
75 | 71 | ||
76 | static int final(EVP_MD_CTX *ctx,unsigned char *md) | 72 | static int final(EVP_MD_CTX *ctx,unsigned char *md) |
@@ -81,7 +77,7 @@ static const EVP_MD dsa_md= | |||
81 | NID_dsaWithSHA, | 77 | NID_dsaWithSHA, |
82 | NID_dsaWithSHA, | 78 | NID_dsaWithSHA, |
83 | SHA_DIGEST_LENGTH, | 79 | SHA_DIGEST_LENGTH, |
84 | 0, | 80 | EVP_MD_FLAG_FIPS, |
85 | init, | 81 | init, |
86 | update, | 82 | update, |
87 | final, | 83 | final, |