Lines Matching refs:BIO
480 /* If the buffering BIO is in place, pop it off */
538 void SSL_set_bio(SSL *s,BIO *rbio,BIO *wbio)
540 /* If the output buffering BIO is still in place, remove it
558 BIO *SSL_get_rbio(const SSL *s)
561 BIO *SSL_get_wbio(const SSL *s)
572 BIO *b,*r;
584 BIO *b,*r;
597 BIO *bio=NULL;
599 bio=BIO_new(BIO_s_socket());
601 if (bio == NULL)
606 BIO_set_fd(bio,fd,BIO_NOCLOSE);
607 SSL_set_bio(s,bio,bio);
616 BIO *bio=NULL;
621 bio=BIO_new(BIO_s_socket());
623 if (bio == NULL)
625 BIO_set_fd(bio,fd,BIO_NOCLOSE);
626 SSL_set_bio(s,SSL_get_rbio(s),bio);
638 BIO *bio=NULL;
643 bio=BIO_new(BIO_s_socket());
645 if (bio == NULL)
650 BIO_set_fd(bio,fd,BIO_NOCLOSE);
651 SSL_set_bio(s,bio,SSL_get_wbio(s));
2099 BIO *bio;
2115 bio=SSL_get_rbio(s);
2116 if (BIO_should_read(bio))
2118 else if (BIO_should_write(bio))
2129 else if (BIO_should_io_special(bio))
2131 reason=BIO_get_retry_reason(bio);
2143 bio=SSL_get_wbio(s);
2144 if (BIO_should_write(bio))
2146 else if (BIO_should_read(bio))
2147 /* See above (SSL_want_read(s) with BIO_should_write(bio)) */
2149 else if (BIO_should_io_special(bio))
2151 reason=BIO_get_retry_reason(bio);
2469 BIO *bbio;
2768 #include "../crypto/bio/bss_file.c"