Lines Matching defs:sslctx
775 SSL_CTX* sslctx = SSL_CTX_new(SSLv23_client_method());
776 if(!sslctx) {
780 return sslctx;
785 TLS_initiate(SSL_CTX* sslctx, int fd, const char* urlname, int use_sni)
789 SSL* ssl = SSL_new(sslctx);
833 TLS_shutdown(int fd, SSL* ssl, SSL_CTX* sslctx)
840 SSL_CTX_free(sslctx);
1148 SSL_CTX* sslctx = setup_sslctx();
1149 if(!sslctx) {
1154 SSL_CTX_free(sslctx);
1157 ssl = TLS_initiate(sslctx, fd, urlname, use_sni);
1159 SSL_CTX_free(sslctx);
1166 SSL_CTX_free(sslctx);
1171 TLS_shutdown(fd, ssl, sslctx);