Lines Matching refs:wbio
464 if (s->bbio == s->wbio)
466 s->wbio=BIO_pop(s->wbio);
473 if ((s->wbio != NULL) && (s->wbio != s->rbio))
474 BIO_free_all(s->wbio);
509 void SSL_set_bio(SSL *s,BIO *rbio,BIO *wbio)
515 if (s->wbio == s->bbio)
517 s->wbio=s->wbio->next_bio;
523 if ((s->wbio != NULL) && (s->wbio != wbio) && (s->rbio != s->wbio))
524 BIO_free_all(s->wbio);
526 s->wbio=wbio;
533 { return(s->wbio); }
611 if ((s->wbio == NULL) || (BIO_method_type(s->wbio) != BIO_TYPE_SOCKET)
612 || ((int)BIO_get_fd(s->wbio,NULL) != fd))
1967 * rbio and wbio are separate couldn't even know what it
1971 * SSL_want_write(s)) and rbio and wbio *are* the same,
2169 /* setup rbio, and wbio */
2175 if (s->wbio != NULL)
2177 if (s->wbio != s->rbio)
2179 if (!BIO_dup_state(s->wbio,(char *)&ret->wbio))
2183 ret->wbio=ret->rbio;
2326 if (s->bbio == s->wbio)
2327 s->wbio=BIO_pop(s->wbio);
2338 if (s->wbio != bbio)
2339 s->wbio=BIO_push(bbio,s->wbio);
2343 if (s->wbio == bbio)
2344 s->wbio=BIO_pop(bbio);
2353 if (s->bbio == s->wbio)
2356 s->wbio=BIO_pop(s->wbio);
2358 assert(s->wbio != NULL);