diff options
Diffstat (limited to 'usr/src/common/openssl/crypto/evp/m_dss.c')
-rw-r--r-- | usr/src/common/openssl/crypto/evp/m_dss.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr/src/common/openssl/crypto/evp/m_dss.c b/usr/src/common/openssl/crypto/evp/m_dss.c index beb8d7fc5c..a948c77fa4 100644 --- a/usr/src/common/openssl/crypto/evp/m_dss.c +++ b/usr/src/common/openssl/crypto/evp/m_dss.c @@ -61,12 +61,16 @@ #include <openssl/evp.h> #include <openssl/objects.h> #include <openssl/x509.h> +#ifndef OPENSSL_NO_DSA +#include <openssl/dsa.h> +#endif #ifndef OPENSSL_NO_SHA + static int init(EVP_MD_CTX *ctx) { return SHA1_Init(ctx->md_data); } -static int update(EVP_MD_CTX *ctx,const void *data,unsigned long count) +static int update(EVP_MD_CTX *ctx,const void *data,size_t count) { return SHA1_Update(ctx->md_data,data,count); } static int final(EVP_MD_CTX *ctx,unsigned char *md) |