18namespace proto_fuzzer {
36 transport_.Install(easy);
55#if defined(PROTO_FUZZER_OBSERVE_STATE)
57 const volatile std::size_t ldaps_observation[] = {
59 (void)ldaps_observation;
void ObserveState() override
Retain protocol outcomes in coverage and introspector builds.
LdapsMockServer()
Construct the OpenSSL server carrier used by every LDAPS scenario.
std::string negotiated_alpn() const
int negotiated_tls_version() const
std::unique_ptr< MockConnection > CreateConnection() override
Wrap one socketpair endpoint in an OpenSSL acceptor.
~LdapsMockServer() override
Release the TLS connection before the carrier-owned server context.
void ObserveState() override
Retain protocol outcomes in coverage and introspector builds.
void Install(CURL *easy) override
Install the shared socket callbacks and a stable local trust anchor.
std::size_t completed_handshake_count() const
virtual void Install(CURL *easy)
Install the common OPENSOCKETFUNCTION / OPENSOCKETDATA / SOCKOPTFUNCTION callbacks on 'easy'.
std::unique_ptr< MockConnection > connection_
The per-scenario MockConnection, lazily created by HandleOpenSocket().
Implicit-TLS in-process peer for curl's OpenLDAP-backed LDAPS exchange.
MockConnection and MockServer — the in-process peer that feeds canned response bytes to libcurl over ...
TlsApplicationProtocol
Application protocol selected by the in-process TLS peer.
@ kHttp11
Ordinary HTTPS scripts contain HTTP/1.1 response bytes.