From: Graeme Perrow Date: Fri, 13 Nov 2015 21:56:18 +0000 (-0500) Subject: RT32671: wrong multiple errs TS_check_status_info X-Git-Tag: OpenSSL_1_0_2e~30 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f236ef27bd2ca99b3367554aa3e2fc9ca345deb5;p=oweals%2Fopenssl.git RT32671: wrong multiple errs TS_check_status_info Manual cherry-pick of 0704343f138a38d3882d5af2a4ebe8821e9a8f3a. Signed-off-by: Rich Salz Reviewed-by: Tim Hudson --- diff --git a/crypto/ts/ts_rsp_verify.c b/crypto/ts/ts_rsp_verify.c index 3ce765dfa1..da8991173c 100644 --- a/crypto/ts/ts_rsp_verify.c +++ b/crypto/ts/ts_rsp_verify.c @@ -522,7 +522,7 @@ static int TS_check_status_info(TS_RESP *response) if (ASN1_BIT_STRING_get_bit(info->failure_info, TS_failure_info[i].code)) { if (!first) - strcpy(failure_text, ","); + strcat(failure_text, ","); else first = 0; strcat(failure_text, TS_failure_info[i].text);