aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/libtest/lib509.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libtest/lib509.c b/tests/libtest/lib509.c
index b6e9ca6dd..54d23e972 100644
--- a/tests/libtest/lib509.c
+++ b/tests/libtest/lib509.c
@@ -110,7 +110,7 @@ static int ssl_app_verify_callback(X509_STORE_CTX *ctx, void *arg)
if (strcmp((char *)p->accessinfoURL, (char *)accessinfoURL)) {
fprintf(stderr, "Setting URL <%s>, was <%s>\n",
- accessinfoURL,p->accessinfoURL);
+ (char *)accessinfoURL, (char *)p->accessinfoURL);
OPENSSL_free(p->accessinfoURL);
p->accessinfoURL = accessinfoURL;
curl_easy_setopt(p->curl, CURLOPT_URL,p->accessinfoURL);
@@ -179,7 +179,7 @@ int test(char *URL)
curl_easy_setopt(p.curl, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_easy_setopt(p.curl, CURLOPT_SSL_VERIFYHOST, 1);
- fprintf(stderr,"Going to perform %s\n",p.accessinfoURL);
+ fprintf(stderr, "Going to perform %s\n", (char *)p.accessinfoURL);
{
CURLMcode res;