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:
d2fca2c
)
Another small bug fix. Notified by cipo <cseplo_l@netlock.net>
author
Richard Levitte
<levitte@openssl.org>
Tue, 20 Apr 2004 10:27:03 +0000
(10:27 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Tue, 20 Apr 2004 10:27:03 +0000
(10:27 +0000)
apps/dgst.c
patch
|
blob
|
history
diff --git
a/apps/dgst.c
b/apps/dgst.c
index e50f663977592b5101af48deef9fe1a2f49e53f1..8b4ec7f2e2a80885745062277df1cc9cda38c342 100644
(file)
--- a/
apps/dgst.c
+++ b/
apps/dgst.c
@@
-465,7
+465,10
@@
int do_fp(BIO *out, unsigned char *buf, BIO *bp, int sep, int binout,
}
BIO_printf(out, "\n");
}
- BIO_set_md_ctx(bmd,md_ctx);
+ if (hmac_key)
+ {
+ BIO_set_md_ctx(bmd,md_ctx);
+ }
return 0;
}