Searched refs:s_bio (Results 1 - 3 of 3) sorted by relevance

/freebsd-10.3-release/crypto/openssl/ssl/
H A Dssl_task.c282 BIO *s_bio = NULL; local
302 s_bio = BIO_new(BIO_f_ssl());
303 if ((c_bio == NULL) || (s_bio == NULL))
308 BIO_set_ssl(s_bio, s_ssl, BIO_CLOSE);
348 i = BIO_read(s_bio, msg.data, msg.length);
361 i = BIO_write(s_bio, msg.data, msg.length);
394 if (s_bio != NULL)
395 BIO_free(s_bio);
H A Dssltest.c1519 BIO *s_bio = NULL; local
1537 s_bio = BIO_new(BIO_f_ssl());
1538 if ((c_bio == NULL) || (s_bio == NULL)) {
1549 BIO_set_ssl(s_bio, s_ssl, BIO_NOCLOSE);
1562 i = (int)BIO_pending(s_bio);
1663 i = BIO_read(s_bio, sbuf, sizeof(cbuf));
1667 if (BIO_should_retry(s_bio)) {
1668 if (BIO_should_read(s_bio))
1670 if (BIO_should_write(s_bio))
1699 i = BIO_write(s_bio, sbu
[all...]
/freebsd-10.3-release/crypto/openssl/crypto/threads/
H A Dmttest.c404 BIO *s_bio = NULL; local
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, "hell
[all...]

Completed in 101 milliseconds