|
curl-fuzzer C++ reference
|
Process-lifetime parsed credentials for in-process stream TLS peers. More...
Go to the source code of this file.
Functions | |
| bool | proto_fuzzer::InstallCachedTlsTestCredentials (SSL_CTX *context, curl::fuzzer::proto::TlsCertificateChainProfile certificate_chain) |
| Install references to immutable, process-lifetime test credentials in one fresh TLS context. | |
Process-lifetime parsed credentials for in-process stream TLS peers.
Definition in file tls_test_credential_cache.cc.
| bool proto_fuzzer::InstallCachedTlsTestCredentials | ( | SSL_CTX * | context, |
| curl::fuzzer::proto::TlsCertificateChainProfile | certificate_chain ) |
Install references to immutable, process-lifetime test credentials in one fresh TLS context.
SSL_CTX_use_certificate and SSL_CTX_use_PrivateKey retain their own references. Each extra-chain insertion receives an explicit X509_up_ref because SSL_CTX_add_extra_chain_cert takes ownership on success. No session, connection, callback, or observation state is shared.
| context | Fresh server context that will own the installed references. |
| certificate_chain | Checked-in auxiliary certificate profile to use. |
Definition at line 154 of file tls_test_credential_cache.cc.