Lines Matching refs:c_ssl
399 SSL *c_ssl = NULL;
421 c_ssl = (SSL *)ctx[3];
423 c_ssl = SSL_new(c_ctx);
425 if ((s_ssl == NULL) || (c_ssl == NULL))
438 SSL_set_connect_state(c_ssl);
439 SSL_set_bio(c_ssl, s_to_c, c_to_s);
440 BIO_set_ssl(c_bio, c_ssl, (ctx[2] == NULL) ? BIO_CLOSE : BIO_NOCLOSE);
478 if (SSL_in_init(c_ssl))
480 SSL_state_string_long(c_ssl));
604 SSL_set_shutdown(c_ssl, SSL_SENT_SHUTDOWN | SSL_RECEIVED_SHUTDOWN);
613 * twice. Once when th s_ssl is SSL_free()ed and again when c_ssl is
614 * SSL_free()ed. This is a hack required because s_ssl and c_ssl are
624 if (c_ssl != NULL) {
625 c_ssl->rbio = NULL;
626 c_ssl->wbio = NULL;