Undo commit
Comment in the commit:
/* Ignore NULLs, thanks to Bob Beck */
@@ -757,8 +757,6 @@ void ERR_add_error_vdata(int num, va_list args)
n = 0;
for (i = 0; i < num; i++) {
a = va_arg(args, char *);
- /* ignore NULLs, thanks to Bob Beck <beck@obtuse.com> */
- if (a != NULL) {
n += strlen(a);
if (n > s) {
s = n + 20;
@@ -771,7 +769,6 @@ void ERR_add_error_vdata(int num, va_list args)
}
OPENSSL_strlcat(str, a, (size_t)s + 1);
}
- }
ERR_set_error_data(str, ERR_TXT_MALLOCED | ERR_TXT_STRING);
}
