Lines Matching defs:s_to_c
2600 BIO *s_to_c = NULL;
2620 s_to_c = BIO_new(BIO_s_mem());
2621 if ((s_to_c == NULL) || (c_to_s == NULL)) {
2634 SSL_set_bio(c_ssl, s_to_c, c_to_s);
2643 /* c_to_s and s_to_c will get freed when we free c_ssl */
2645 s_to_c = NULL;
2648 if (!BIO_up_ref(s_to_c)) {
2649 /* s_to_c will get freed when we free c_ssl */
2650 s_to_c = NULL;
2655 SSL_set_bio(s_ssl, c_to_s, s_to_c);
2659 s_to_c = NULL;
2860 BIO_free(s_to_c);