Lines Matching refs:s_bio
426 BIO *s_bio=NULL;
454 s_bio=BIO_new(BIO_f_ssl());
455 if ((c_bio == NULL) || (s_bio == NULL)) goto err;
463 BIO_set_ssl(s_bio,s_ssl,(ctx[3] == NULL)?BIO_CLOSE:BIO_NOCLOSE);
477 i=(int)BIO_pending(s_bio);
586 i=BIO_read(s_bio,sbuf,100);
591 if (BIO_should_retry(s_bio))
593 if (BIO_should_read(s_bio))
595 if (BIO_should_write(s_bio))
623 i=BIO_write(s_bio,"hello from server\n",18);
628 if (BIO_should_retry(s_bio))
630 if (BIO_should_read(s_bio))
632 if (BIO_should_write(s_bio))
693 if (s_bio != NULL) BIO_free(s_bio);