aboutsummaryrefslogtreecommitdiff
path: root/apps/dgst.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dgst.c')
-rw-r--r--apps/dgst.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/dgst.c b/apps/dgst.c
index 312d880..7e79868 100644
--- a/apps/dgst.c
+++ b/apps/dgst.c
@@ -593,6 +593,7 @@ int do_fp(BIO *out, unsigned char *buf, BIO *bp, int sep, int binout,
{
EVP_MD_CTX *ctx;
BIO_get_md_ctx(bp, &ctx);
+ len = BUFSIZE;
if(!EVP_DigestSignFinal(ctx, buf, &len))
{
BIO_printf(bio_err, "Error Signing Data\n");