diff options
author | Brent Cook <bcook@cvs.openbsd.org> | 2014-07-09 11:12:14 +0000 |
---|---|---|
committer | Brent Cook <bcook@cvs.openbsd.org> | 2014-07-09 11:12:14 +0000 |
commit | 9fca2717c60e5d9f3a807340975d9b8e8779efad (patch) | |
tree | 5c7cd010b972d8247838823dcbe4232c831403ba /lib | |
parent | 0b57b42580df9f5e2577df603d7aa4825bb2ea9e (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.c | 4 |
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; } |