diff --git a/lib/hx509/error.c b/lib/hx509/error.c index 6c0f1ba11..8c357edba 100644 --- a/lib/hx509/error.c +++ b/lib/hx509/error.c @@ -118,7 +118,8 @@ hx509_get_error_string(hx509_context context, int error_code) } for (msg = context->error; msg; msg = msg->next) - p = rk_strpoolprintf(p, "%s", msg->msg); + p = rk_strpoolprintf(p, "%s%s", msg->msg, + msg->next != NULL ? "; " : ""); return rk_strpoolcollect(p); }