[openssl-commits] [openssl] OpenSSL_1_1_0-stable update
bernd.edlinger at hotmail.de
bernd.edlinger at hotmail.de
Tue Apr 3 14:09:26 UTC 2018
The branch OpenSSL_1_1_0-stable has been updated
via 16df8dfe62e2fc4c8dd40a42b5abe280a63b7608 (commit)
from faddc62b3e657aeb90f4a47e46aeba633964306a (commit)
- Log -----------------------------------------------------------------
commit 16df8dfe62e2fc4c8dd40a42b5abe280a63b7608
Author: Bernd Edlinger <bernd.edlinger at hotmail.de>
Date: Mon Apr 2 10:35:29 2018 +0200
Remove an unnecessary cast in the param to BUF_MEM_grow
Reviewed-by: Rich Salz <rsalz at openssl.org>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre at ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/5826)
(cherry picked from commit 21db0e1afdcf17a189ebe49af3506551b108a2f2)
-----------------------------------------------------------------------
Summary of changes:
apps/asn1pars.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/asn1pars.c b/apps/asn1pars.c
index 3b80b77..ed60ad1 100644
--- a/apps/asn1pars.c
+++ b/apps/asn1pars.c
@@ -191,7 +191,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)
More information about the openssl-commits
mailing list