Correct build

pull/3128/head
Tesfa Mael 2020-07-13 17:29:12 -07:00
parent 4938baa892
commit aee208f1b1
1 changed files with 1 additions and 1 deletions

View File

@ -41804,7 +41804,7 @@ int wolfSSL_X509_NAME_print_ex(WOLFSSL_BIO* bio, WOLFSSL_X509_NAME* name,
if (i < count - 1) { if (i < count - 1) {
/* tmpSz+1 for last null char */ /* tmpSz+1 for last null char */
XSNPRINTF(tmp, tmpSz+1, "%s=%s,", buf, str->data); XSNPRINTF(tmp, tmpSz+1, "%s=%s,", buf, str->data);
XSTRNCAT(fullName, tmp, tmpSz); XSTRNCAT(fullName, tmp, tmpSz+1);
} }
else { else {
XSNPRINTF(tmp, tmpSz, "%s=%s", buf, str->data); XSNPRINTF(tmp, tmpSz, "%s=%s", buf, str->data);