Lines Matching refs:s_bio
404 BIO *s_bio = NULL;
434 s_bio = BIO_new(BIO_f_ssl());
435 if ((c_bio == NULL) || (s_bio == NULL))
444 BIO_set_ssl(s_bio, s_ssl, (ctx[3] == NULL) ? BIO_CLOSE : BIO_NOCLOSE);
459 i = (int)BIO_pending(s_bio);
545 i = BIO_read(s_bio, sbuf, 100);
549 if (BIO_should_retry(s_bio)) {
550 if (BIO_should_read(s_bio))
552 if (BIO_should_write(s_bio))
572 i = BIO_write(s_bio, "hello from server\n", 18);
576 if (BIO_should_retry(s_bio)) {
577 if (BIO_should_read(s_bio))
579 if (BIO_should_write(s_bio))
637 if (s_bio != NULL)
638 BIO_free(s_bio);