Lines Matching refs:rbio
538 if (s->rbio != NULL) in SSL_free()
539 BIO_free_all(s->rbio); in SSL_free()
540 if ((s->wbio != NULL) && (s->wbio != s->rbio)) in SSL_free()
601 void SSL_set_bio(SSL *s,BIO *rbio,BIO *wbio) in SSL_set_bio() argument
613 if ((s->rbio != NULL) && (s->rbio != rbio)) in SSL_set_bio()
614 BIO_free_all(s->rbio); in SSL_set_bio()
615 if ((s->wbio != NULL) && (s->wbio != wbio) && (s->rbio != s->wbio)) in SSL_set_bio()
617 s->rbio=rbio; in SSL_set_bio()
622 { return(s->rbio); } in SSL_get_rbio()
681 if ((s->rbio == NULL) || (BIO_method_type(s->rbio) != BIO_TYPE_SOCKET) in SSL_set_wfd()
682 || ((int)BIO_get_fd(s->rbio,NULL) != fd)) in SSL_set_wfd()
2679 if (s->rbio != NULL) in SSL_dup()
2681 if (!BIO_dup_state(s->rbio,(char *)&ret->rbio)) in SSL_dup()
2686 if (s->wbio != s->rbio) in SSL_dup()
2692 ret->wbio=ret->rbio; in SSL_dup()