diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-09-22 18:21:45 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-09-22 18:21:45 +0000 |
commit | 23550fe5def6db95598d877464f7a41465ee37c0 (patch) | |
tree | 5d4a81d13b95b196c02fbab9c06ee4177cf2302f /tests/libtest | |
parent | 8420de971f707e951c96c673ad634e5bec885f82 (diff) |
Dan Fandrich's fix to use 127.0.0.1 instead of localhost to not depend on
it resolving nicely
Diffstat (limited to 'tests/libtest')
-rw-r--r-- | tests/libtest/lib509.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |