Lines Matching defs:wbio
541 if (s->bbio == s->wbio) {
542 s->wbio = BIO_pop(s->wbio);
548 if (s->rbio != s->wbio)
550 BIO_free_all(s->wbio);
611 SSL_set_bio(SSL *s, BIO *rbio, BIO *wbio)
615 if (s->wbio == s->bbio) {
616 s->wbio = BIO_next(s->wbio);
621 if (s->rbio != rbio && s->rbio != s->wbio)
623 if (s->wbio != wbio)
624 BIO_free_all(s->wbio);
626 s->wbio = wbio;
648 return (s->wbio);
737 if ((s->wbio == NULL) || (BIO_method_type(s->wbio) != BIO_TYPE_SOCKET)
738 || ((int)BIO_get_fd(s->wbio, NULL) != fd)) {
2627 * program where rbio and wbio are separate couldn't
2631 * and rbio and wbio *are* the same, this test works
2954 /* setup rbio, and wbio */
2959 if (s->wbio != NULL) {
2960 if (s->wbio != s->rbio) {
2961 if (!BIO_dup_state(s->wbio,(char *)&ret->wbio))
2964 ret->wbio = ret->rbio;
3138 if (s->bbio == s->wbio)
3139 s->wbio = BIO_pop(s->wbio);
3148 if (s->wbio != bbio)
3149 s->wbio = BIO_push(bbio, s->wbio);
3151 if (s->wbio == bbio)
3152 s->wbio = BIO_pop(bbio);
3166 if (s->bbio == s->wbio) {
3168 s->wbio = BIO_pop(s->wbio);