Lines Matching refs:wbio
534 if (s->bbio == s->wbio) in SSL_free()
536 s->wbio=BIO_pop(s->wbio); in SSL_free()
543 if ((s->wbio != NULL) && (s->wbio != s->rbio)) in SSL_free()
544 BIO_free_all(s->wbio); in SSL_free()
607 void SSL_set_bio(SSL *s,BIO *rbio,BIO *wbio) in SSL_set_bio() argument
613 if (s->wbio == s->bbio) in SSL_set_bio()
615 s->wbio=s->wbio->next_bio; in SSL_set_bio()
621 if ((s->wbio != NULL) && (s->wbio != wbio) && (s->rbio != s->wbio)) in SSL_set_bio()
622 BIO_free_all(s->wbio); in SSL_set_bio()
624 s->wbio=wbio; in SSL_set_bio()
631 { return(s->wbio); } in SSL_get_wbio()
709 if ((s->wbio == NULL) || (BIO_method_type(s->wbio) != BIO_TYPE_SOCKET) in SSL_set_rfd()
710 || ((int)BIO_get_fd(s->wbio,NULL) != fd)) in SSL_set_rfd()
2741 if (s->wbio != NULL) in SSL_dup()
2743 if (s->wbio != s->rbio) in SSL_dup()
2745 if (!BIO_dup_state(s->wbio,(char *)&ret->wbio)) in SSL_dup()
2749 ret->wbio=ret->rbio; in SSL_dup()
2893 if (s->bbio == s->wbio) in ssl_init_wbio_buffer()
2894 s->wbio=BIO_pop(s->wbio); in ssl_init_wbio_buffer()
2905 if (s->wbio != bbio) in ssl_init_wbio_buffer()
2906 s->wbio=BIO_push(bbio,s->wbio); in ssl_init_wbio_buffer()
2910 if (s->wbio == bbio) in ssl_init_wbio_buffer()
2911 s->wbio=BIO_pop(bbio); in ssl_init_wbio_buffer()
2920 if (s->bbio == s->wbio) in ssl_free_wbio_buffer()
2923 s->wbio=BIO_pop(s->wbio); in ssl_free_wbio_buffer()
2925 assert(s->wbio != NULL); in ssl_free_wbio_buffer()