Signed-off-by: Joakim Tjernlund <[email protected]>
---
crypto/err/err.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/crypto/err/err.c b/crypto/err/err.c
index 1c2c1d9..fd1b078 100644
--- a/crypto/err/err.c
+++ b/crypto/err/err.c
@@ -1105,8 +1105,9 @@ ERR_add_error_vdata(int num, va_list args)
{
char format[129];
char *errbuf;
- format[0] = '\0';
int i;
+
+ format[0] = '\0';
for (i = 0; i < num; i++) {
if (strlcat(format, "%s", sizeof(format)) >= sizeof(format)) {
ERR_set_error_data("too many errors", ERR_TXT_STRING);
--
1.8.5.5