Searched refs:c_bio (Results 1 - 2 of 2) sorted by relevance

/external/openssl/crypto/threads/
H A Dmttest.c427 BIO *c_bio=NULL; local
455 c_bio=BIO_new(BIO_f_ssl());
457 if ((c_bio == NULL) || (s_bio == NULL)) goto err;
461 BIO_set_ssl(c_bio,c_ssl,(ctx[2] == NULL)?BIO_CLOSE:BIO_NOCLOSE);
482 i=(int)BIO_pending(c_bio);
516 i=BIO_write(c_bio,"hello from client\n",18);
521 if (BIO_should_retry(c_bio))
523 if (BIO_should_read(c_bio))
525 if (BIO_should_write(c_bio))
548 i=BIO_read(c_bio,cbu
[all...]
/external/openssl/ssl/
H A Dssltest.c1571 BIO *c_bio=NULL; local
1590 c_bio=BIO_new(BIO_f_ssl());
1592 if ((c_bio == NULL) || (s_bio == NULL))
1600 BIO_set_ssl(c_bio,c_ssl,BIO_NOCLOSE);
1619 i=(int)BIO_pending(c_bio);
1656 i=BIO_write(c_bio,cbuf,j);
1661 if (BIO_should_retry(c_bio))
1663 if (BIO_should_read(c_bio))
1665 if (BIO_should_write(c_bio))
1692 i=BIO_read(c_bio,cbu
[all...]

Completed in 800 milliseconds