projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove an unnecessary cast in the param to BUF_MEM_grow
[oweals/openssl.git]
/
apps
/
asn1pars.c
diff --git
a/apps/asn1pars.c
b/apps/asn1pars.c
index 062e19644e0b8f9741cfffe42e952c56f9c3ae2c..f1756c1fdba56c031a9a0febe3288a1a99041cd1 100644
(file)
--- a/
apps/asn1pars.c
+++ b/
apps/asn1pars.c
@@
-205,7
+205,7
@@
int asn1parse_main(int argc, char **argv)
num = 0;
for (;;) {
- if (!BUF_MEM_grow(buf,
(int)
num + BUFSIZ))
+ if (!BUF_MEM_grow(buf, num + BUFSIZ))
goto end;
i = BIO_read(in, &(buf->data[num]), BUFSIZ);
if (i <= 0)