Home
last modified time | relevance | path

Searched refs:ctx_ (Results 1 – 2 of 2) sorted by relevance

/packages/modules/DnsResolver/tests/dns_responder/
Ddns_tls_frontend.cpp67 ctx_.reset(SSL_CTX_new(TLS_server_method())); in startServer()
68 if (!ctx_) { in startServer()
73 SSL_CTX_set_ecdh_auto(ctx_.get(), 1); in startServer()
81 if (SSL_CTX_use_certificate(ctx_.get(), ca_certs.get()) <= 0) { in startServer()
87 if (SSL_CTX_use_RSAPrivateKey(ctx_.get(), private_key.get()) <= 0) { in startServer()
209 bssl::UniquePtr<SSL> ssl(SSL_new(ctx_.get())); in requestHandler()
332 ctx_.reset(); in stopServer()
Ddns_tls_frontend.h91 bssl::UniquePtr<SSL_CTX> ctx_; variable