Home | History | Annotate | Download | only in testspdy

Lines Matching refs:ssl_ctx

487 static void init_ssl_ctx(SSL_CTX *ssl_ctx, uint16_t *spdy_proto_version)
490 SSL_CTX_set_options(ssl_ctx, SSL_OP_ALL|SSL_OP_NO_SSLv2);
491 SSL_CTX_set_mode(ssl_ctx, SSL_MODE_AUTO_RETRY);
492 SSL_CTX_set_mode(ssl_ctx, SSL_MODE_RELEASE_BUFFERS);
494 SSL_CTX_set_next_proto_select_cb(ssl_ctx, select_next_proto_cb,
657 SSL_CTX *ssl_ctx;
674 ssl_ctx = SSL_CTX_new(SSLv23_client_method());
675 if(ssl_ctx == NULL) {
678 init_ssl_ctx(ssl_ctx, &spdy_proto_version);
679 ssl = SSL_new(ssl_ctx);
727 SSL_CTX_free(ssl_ctx);