Searched refs:ctx_ (Results 1 – 2 of 2) sorted by relevance
70 ctx_.reset(SSL_CTX_new(TLS_server_method())); in startServer()71 if (!ctx_) { in startServer()76 SSL_CTX_set_ecdh_auto(ctx_.get(), 1); in startServer()84 if (SSL_CTX_use_certificate(ctx_.get(), ca_certs.get()) <= 0) { in startServer()90 if (SSL_CTX_use_RSAPrivateKey(ctx_.get(), private_key.get()) <= 0) { in startServer()212 bssl::UniquePtr<SSL> ssl(SSL_new(ctx_.get())); in requestHandler()295 ctx_.reset(); in stopServer()
84 bssl::UniquePtr<SSL_CTX> ctx_; variable