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.c1594 BIO *c_bio=NULL; local
1613 c_bio=BIO_new(BIO_f_ssl());
1615 if ((c_bio == NULL) || (s_bio == NULL))
1623 BIO_set_ssl(c_bio,c_ssl,BIO_NOCLOSE);
1642 i=(int)BIO_pending(c_bio);
1679 i=BIO_write(c_bio,cbuf,j);
1684 if (BIO_should_retry(c_bio))
1686 if (BIO_should_read(c_bio))
1688 if (BIO_should_write(c_bio))
1715 i=BIO_read(c_bio,cbu
[all...]

Completed in 38 milliseconds