From 23550fe5def6db95598d877464f7a41465ee37c0 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 22 Sep 2004 18:21:45 +0000 Subject: Dan Fandrich's fix to use 127.0.0.1 instead of localhost to not depend on it resolving nicely --- tests/libtest/lib509.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/libtest/lib509.c') diff --git a/tests/libtest/lib509.c b/tests/libtest/lib509.c index 9e535e9b6..d20c31524 100644 --- a/tests/libtest/lib509.c +++ b/tests/libtest/lib509.c @@ -121,7 +121,7 @@ static int ssl_app_verify_callback(X509_STORE_CTX *ctx, void *arg) URL in the cert uses a static one. We thus need to create a new URL that uses the currently requested port number which may not be the one this URL uses! */ - sprintf(newurl, "https://localhost:%d/509", portnum); + sprintf(newurl, "https://127.0.0.1:%d/509", portnum); fprintf(stderr, "But *really* Setting URL <%s>\n", newurl); curl_easy_setopt(p->curl, CURLOPT_URL, newurl); -- cgit v1.2.3