Lines Matching refs:ssl
187 bssl::UniquePtr<SSL> ssl(SSL_new(mSslCtx.get())); in sslConnect() local
190 SSL_set_bio(ssl.get(), bio.get(), bio.get()); in sslConnect()
193 if (!mCache->prepareSsl(ssl.get())) { in sslConnect()
198 if (SSL_set_tlsext_host_name(ssl.get(), mServer.name.c_str()) != 1) { in sslConnect()
202 X509_VERIFY_PARAM* param = SSL_get0_param(ssl.get()); in sslConnect()
208 SSL_set_verify(ssl.get(), SSL_VERIFY_PEER, nullptr); in sslConnect()
214 SSL_set_session(ssl.get(), session.get()); in sslConnect()
221 int ret = SSL_connect(ssl.get()); in sslConnect()
225 const int ssl_err = SSL_get_error(ssl.get(), ret); in sslConnect()
252 int verify_result = SSL_get_verify_result(ssl.get()); in sslConnect()
264 STACK_OF(X509) *chain = SSL_get_peer_cert_chain(ssl.get()); in sslConnect()
297 return ssl; in sslConnect()