curl-fuzzer C++ reference
Loading...
Searching...
No Matches
tls_test_credential_cache.h
Go to the documentation of this file.
1/*
2 * Copyright (C) Max Dymond, <cmeister2@gmail.com>, et al.
3 *
4 * SPDX-License-Identifier: curl
5 */
6
9
10#ifndef PROTO_FUZZER_TLS_TEST_CREDENTIAL_CACHE_H_
11#define PROTO_FUZZER_TLS_TEST_CREDENTIAL_CACHE_H_
12
13#include <openssl/types.h>
14
15#include "curl_fuzzer.pb.h"
16
17namespace proto_fuzzer {
18
19bool InstallCachedTlsTestCredentials(SSL_CTX* context,
20 curl::fuzzer::proto::TlsCertificateChainProfile certificate_chain);
21
22} // namespace proto_fuzzer
23
24#endif // PROTO_FUZZER_TLS_TEST_CREDENTIAL_CACHE_H_
bool InstallCachedTlsTestCredentials(SSL_CTX *context, curl::fuzzer::proto::TlsCertificateChainProfile certificate_chain)
Install references to immutable, process-lifetime test credentials in one fresh TLS context.