projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix ERR_add_error_vdata() for use with multiple args/calls
[openssl.git]
/
crypto
/
err
/
err.c
diff --git
a/crypto/err/err.c
b/crypto/err/err.c
index 24549e3a4935d028c093c8b1c41d2b9f068c324b..daa4e6e419a9bf0641900fcda02c5e8ad2571175 100644
(file)
--- a/
crypto/err/err.c
+++ b/
crypto/err/err.c
@@
-790,7
+790,7
@@
void ERR_add_error_vdata(int num, va_list args)
}
len = strlen(str);
-
for (len = 0; --num >= 0;
) {
+
while (--num >= 0
) {
arg = va_arg(args, char *);
if (arg == NULL)
arg = "<NULL>";