Lines Matching defs:s_ssl
422 SSL *s_ssl=NULL;
438 s_ssl=(SSL *)ctx[2];
440 s_ssl=SSL_new(s_ctx);
447 if ((s_ssl == NULL) || (c_ssl == NULL)) goto err;
461 SSL_set_accept_state(s_ssl);
462 SSL_set_bio(s_ssl,c_to_s,s_to_c);
463 BIO_set_ssl(s_bio,s_ssl,(ctx[3] == NULL)?BIO_CLOSE:BIO_NOCLOSE);
485 if (SSL_in_init(s_ssl))
487 SSL_state_string_long(s_ssl));
663 SSL_set_shutdown(s_ssl,SSL_SENT_SHUTDOWN|SSL_RECEIVED_SHUTDOWN);
670 * free()ed twice. Once when th s_ssl is SSL_free()ed and
672 * This is a hack required because s_ssl and c_ssl are sharing the same
677 if (s_ssl != NULL)
679 s_ssl->rbio=NULL;
680 s_ssl->wbio=NULL;