diff options
Diffstat (limited to 'src/lib/libcrypto/evp/m_dss1.c')
-rw-r--r-- | src/lib/libcrypto/evp/m_dss1.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libcrypto/evp/m_dss1.c b/src/lib/libcrypto/evp/m_dss1.c index 4f03fb70e0..da8babc147 100644 --- a/src/lib/libcrypto/evp/m_dss1.c +++ b/src/lib/libcrypto/evp/m_dss1.c | |||
@@ -68,6 +68,8 @@ | |||
68 | #include <openssl/dsa.h> | 68 | #include <openssl/dsa.h> |
69 | #endif | 69 | #endif |
70 | 70 | ||
71 | #ifndef OPENSSL_FIPS | ||
72 | |||
71 | static int init(EVP_MD_CTX *ctx) | 73 | static int init(EVP_MD_CTX *ctx) |
72 | { return SHA1_Init(ctx->md_data); } | 74 | { return SHA1_Init(ctx->md_data); } |
73 | 75 | ||
@@ -82,7 +84,7 @@ static const EVP_MD dss1_md= | |||
82 | NID_dsa, | 84 | NID_dsa, |
83 | NID_dsaWithSHA1, | 85 | NID_dsaWithSHA1, |
84 | SHA_DIGEST_LENGTH, | 86 | SHA_DIGEST_LENGTH, |
85 | EVP_MD_FLAG_PKEY_DIGEST, | 87 | 0, |
86 | init, | 88 | init, |
87 | update, | 89 | update, |
88 | final, | 90 | final, |
@@ -98,3 +100,4 @@ const EVP_MD *EVP_dss1(void) | |||
98 | return(&dss1_md); | 100 | return(&dss1_md); |
99 | } | 101 | } |
100 | #endif | 102 | #endif |
103 | #endif | ||