Lines Matching refs:c_ssl
421 SSL *c_ssl=NULL;
443 c_ssl=(SSL *)ctx[3];
445 c_ssl=SSL_new(c_ctx);
447 if ((s_ssl == NULL) || (c_ssl == NULL)) goto err;
457 SSL_set_connect_state(c_ssl);
458 SSL_set_bio(c_ssl,s_to_c,c_to_s);
459 BIO_set_ssl(c_bio,c_ssl,(ctx[2] == NULL)?BIO_CLOSE:BIO_NOCLOSE);
496 if (SSL_in_init(c_ssl))
498 SSL_state_string_long(c_ssl));
662 SSL_set_shutdown(c_ssl,SSL_SENT_SHUTDOWN|SSL_RECEIVED_SHUTDOWN);
671 * again when c_ssl is SSL_free()ed.
672 * This is a hack required because s_ssl and c_ssl are sharing the same
682 if (c_ssl != NULL)
684 c_ssl->rbio=NULL;
685 c_ssl->wbio=NULL;