summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBrent Cook <bcook@cvs.openbsd.org>2014-07-09 11:12:14 +0000
committerBrent Cook <bcook@cvs.openbsd.org>2014-07-09 11:12:14 +0000
commit9fca2717c60e5d9f3a807340975d9b8e8779efad (patch)
tree5c7cd010b972d8247838823dcbe4232c831403ba /lib
parent0b57b42580df9f5e2577df603d7aa4825bb2ea9e (diff)
cast ASN1_STRING (unsigned char *) to match strlcat's argument (char *)
ok beck@
Diffstat (limited to 'lib')
-rw-r--r--lib/libcrypto/ts/ts_rsp_verify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/ts/ts_rsp_verify.c b/lib/libcrypto/ts/ts_rsp_verify.c
index 2c79dd1c8d8..2da5a07bcee 100644
--- a/lib/libcrypto/ts/ts_rsp_verify.c
+++ b/lib/libcrypto/ts/ts_rsp_verify.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ts_rsp_verify.c,v 1.9 2014/06/12 15:49:31 deraadt Exp $ */
+/* $OpenBSD: ts_rsp_verify.c,v 1.10 2014/07/09 11:12:13 bcook Exp $ */
/* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL
* project 2002.
*/
@@ -564,7 +564,7 @@ TS_get_status_text(STACK_OF(ASN1_UTF8STRING) *text)
ASN1_UTF8STRING *current = sk_ASN1_UTF8STRING_value(text, i);
if (i > 0)
strlcat(result, "/", length);
- strlcat(result, ASN1_STRING_data(current), length);
+ strlcat(result, (const char *)ASN1_STRING_data(current), length);
}
return result;
}