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

/freebsd-9.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.c1274 BIO *s_bio = NULL; local
1292 s_bio = BIO_new(BIO_f_ssl());
1293 if ((c_bio == NULL) || (s_bio == NULL)) {
1304 BIO_set_ssl(s_bio, s_ssl, BIO_NOCLOSE);
1317 i = (int)BIO_pending(s_bio);
1418 i = BIO_read(s_bio, sbuf, sizeof(cbuf));
1422 if (BIO_should_retry(s_bio)) {
1423 if (BIO_should_read(s_bio))
1425 if (BIO_should_write(s_bio))
1454 i = BIO_write(s_bio, sbu
[all...]
/freebsd-9.3-release/crypto/openssl/crypto/threads/
H A Dmttest.c403 BIO *s_bio = NULL; local
433 s_bio = BIO_new(BIO_f_ssl());
434 if ((c_bio == NULL) || (s_bio == NULL))
443 BIO_set_ssl(s_bio, s_ssl, (ctx[3] == NULL) ? BIO_CLOSE : BIO_NOCLOSE);
458 i = (int)BIO_pending(s_bio);
544 i = BIO_read(s_bio, sbuf, 100);
548 if (BIO_should_retry(s_bio)) {
549 if (BIO_should_read(s_bio))
551 if (BIO_should_write(s_bio))
571 i = BIO_write(s_bio, "hell
[all...]

Completed in 200 milliseconds