]> git.ipfire.org Git - thirdparty/openssl.git/blame - crypto/http/http_local.h
Add ossl_provider symbols
[thirdparty/openssl.git] / crypto / http / http_local.h
CommitLineData
29f178bd 1/*
4333b89f 2 * Copyright 2007-2021 The OpenSSL Project Authors. All Rights Reserved.
29f178bd
DDO
3 * Copyright Siemens AG 2018-2020
4 *
5 * Licensed under the Apache License 2.0 (the "License"). You may not use
6 * this file except in compliance with the License. You can obtain a copy
7 * in the file LICENSE in the source distribution or at
8 * https://www.openssl.org/source/license.html
9 */
10
11#ifndef OSSL_CRYPTO_HTTP_LOCAL_H
12# define OSSL_CRYPTO_HTTP_LOCAL_H
13
14# include <openssl/ocsp.h>
15
9500c823 16BIO *ossl_http_asn1_item2bio(const ASN1_ITEM *it, const ASN1_VALUE *val);
c8830891 17
9500c823
SL
18OSSL_HTTP_REQ_CTX
19*ossl_http_req_ctx_new(BIO *wbio, BIO *rbio, int use_http_proxy,
20 const char *server, const char *port,
21 const char *path,
22 const STACK_OF(CONF_VALUE) *headers,
23 const char *content_type, BIO *req_mem,
24 int maxline, unsigned long max_resp_len,
25 int timeout,
26 const char *expected_content_type,
27 int expect_asn1);
28
29int ossl_http_use_proxy(const char *no_proxy, const char *server);
30const char *ossl_http_adapt_proxy(const char *proxy, const char *no_proxy,
31 const char *server, int use_ssl);
29f178bd 32
b5adba20 33#endif /* !defined(OSSL_CRYPTO_HTTP_LOCAL_H) */