projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove malloc casts
[openssl.git]
/
apps
/
dgst.c
diff --git
a/apps/dgst.c
b/apps/dgst.c
index adfa2a63ba969d076611df40a2dcd7355a5f21a3..106e939fbf4e909874f13ba62dcff44af4198429 100644
(file)
--- a/
apps/dgst.c
+++ b/
apps/dgst.c
@@
-139,7
+139,7
@@
int dgst_main(int argc, char **argv)
int engine_impl = 0;
prog = opt_progname(argv[0]);
- if ((buf =
(unsigned char *)
OPENSSL_malloc(BUFSIZE)) == NULL) {
+ if ((buf = OPENSSL_malloc(BUFSIZE)) == NULL) {
BIO_printf(bio_err, "%s: out of memory\n", prog);
goto end;
}