summaryrefslogtreecommitdiffstats
path: root/test/http_test.c
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2021-03-08 09:59:35 +0100
committerDr. David von Oheimb <dev@ddvo.net>2021-03-31 19:53:05 +0200
commit231837911980ff55a661e2509642442435082c90 (patch)
tree956c67a43f57b157c1b17ef9ca0a07d03a5e484d /test/http_test.c
parent80-test_cmp_http.t: Add diagnostic info on starting/stopping mock server (diff)
downloadopenssl-231837911980ff55a661e2509642442435082c90.tar.xz
openssl-231837911980ff55a661e2509642442435082c90.zip
OSSL_parse_url(): Improve handling of IPv6 addresses
Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14630)
Diffstat (limited to 'test/http_test.c')
-rw-r--r--test/http_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/http_test.c b/test/http_test.c
index e59ef63833..0a3389c15f 100644
--- a/test/http_test.c
+++ b/test/http_test.c
@@ -204,7 +204,7 @@ static int test_http_url_ipv4(void)
static int test_http_url_ipv6(void)
{
- return test_http_url_ok("http://[FF01::101]:6", 0, "FF01::101", "6", "/");
+ return test_http_url_ok("http://[FF01::101]:6", 0, "[FF01::101]", "6", "/");
}
static int test_http_url_invalid(const char *url)