]> git.ipfire.org Git - thirdparty/openssl.git/blob - test/recipes/80-test_http.t
Generalize the HTTP client so far implemented mostly in crypto/ocsp/ocsp_ht.c
[thirdparty/openssl.git] / test / recipes / 80-test_http.t
1 #! /usr/bin/env perl
2 # Copyright 2020 The OpenSSL Project Authors. All Rights Reserved.
3 #
4 # Licensed under the Apache License 2.0 (the "License"). You may not use
5 # this file except in compliance with the License. You can obtain a copy
6 # in the file LICENSE in the source distribution or at
7 # https://www.openssl.org/source/license.html
8
9
10 use OpenSSL::Test qw/:DEFAULT srctop_file/;
11 use OpenSSL::Test::Utils;
12
13 setup("test_http");
14
15 plan tests => 1;
16
17 SKIP: {
18 skip "sockets disabled", 1 if disabled("sock");
19 ok(run(test(["http_test",
20 srctop_file("test", "certs", "ca-cert.pem")])));
21 }