Add a test case for OSSL_HTTP_parse_url
authorMatt Caswell <matt@openssl.org>
Wed, 6 Dec 2023 12:51:34 +0000 (12:51 +0000)
committerMatt Caswell <matt@openssl.org>
Tue, 12 Dec 2023 16:13:01 +0000 (16:13 +0000)
commit54c7f928f3bfb1b9277ff462c1749a93c7fbd07b
tree0897b3be4f2113d4ddb39f1e637fe98002db62f3
parentf437288d5fa5bd95b1e5dd99db42bfbb735548dc
Add a test case for OSSL_HTTP_parse_url

Ensure we test the case where the port value is empty in the URL.

Reviewed-by: Todd Short <todd.short@me.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/22961)

(cherry picked from commit a36d10dfb7e77614c8d3da602ff3800a2e9f4989)
test/http_test.c