diff options
author | Andy Polyakov <appro@openssl.org> | 2007-04-30 15:20:10 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2007-04-30 15:20:10 +0000 |
commit | 6ef18c21c9ce4b728774631b9dac8e6b4bf7c9e4 (patch) | |
tree | 5a036ef74e2ef61543fe6318d7b2a6d7267330bb /apps/dgst.c | |
parent | b38c0add308603b3d4d63ec68a7dbb67b3109cd1 (diff) |
Bug in apps/dgst.c.
Diffstat (limited to 'apps/dgst.c')
-rw-r--r-- | apps/dgst.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dgst.c b/apps/dgst.c index a20a5cba7c..9981ee1db5 100644 --- a/apps/dgst.c +++ b/apps/dgst.c @@ -534,7 +534,7 @@ int do_fp(BIO *out, unsigned char *buf, BIO *bp, int sep, int binout, EVP_PKEY *key, unsigned char *sigin, int siglen, const char *title, const char *file,BIO *bmd) { - unsigned int len; + size_t len; int i; for (;;) @@ -572,7 +572,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); - if(!EVP_DigestSignFinal(ctx, buf, (unsigned int *)&len)) + if(!EVP_DigestSignFinal(ctx, buf, &len)) { BIO_printf(bio_err, "Error Signing Data\n"); ERR_print_errors(bio_err); |