projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b38c0ad
)
Bug in apps/dgst.c.
author
Andy Polyakov
<appro@openssl.org>
Mon, 30 Apr 2007 15:20:10 +0000
(15:20 +0000)
committer
Andy Polyakov
<appro@openssl.org>
Mon, 30 Apr 2007 15:20:10 +0000
(15:20 +0000)
apps/dgst.c
patch
|
blob
|
history
diff --git
a/apps/dgst.c
b/apps/dgst.c
index a20a5cba7c229fa0cd10e103d40968f4dd113535..9981ee1db5164fe923beeb5513064f31517213ac 100644
(file)
--- 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 in
t 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);