RT32671: wrong multiple errs TS_check_status_info
authorGraeme Perrow <graeme.perrow@sap.com>
Fri, 13 Nov 2015 21:56:18 +0000 (16:56 -0500)
committerRich Salz <rsalz@openssl.org>
Fri, 13 Nov 2015 21:57:08 +0000 (16:57 -0500)
Manual cherry-pick of 0704343f138a38d3882d5af2a4ebe8821e9a8f3a.

Signed-off-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
crypto/ts/ts_rsp_verify.c

index 3ce765dfa1b6a19e1cfe5fc4c67ae77a23ff4c68..da8991173ced5c991a06bb2b1fba04884303f5c0 100644 (file)
@@ -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);