Searched refs:c_bio (Results 1 – 2 of 2) sorted by relevance
/external/openssl/crypto/threads/ |
D | mttest.c | 427 BIO *c_bio=NULL; in doit() local 455 c_bio=BIO_new(BIO_f_ssl()); in doit() 457 if ((c_bio == NULL) || (s_bio == NULL)) goto err; in doit() 461 BIO_set_ssl(c_bio,c_ssl,(ctx[2] == NULL)?BIO_CLOSE:BIO_NOCLOSE); in doit() 482 i=(int)BIO_pending(c_bio); in doit() 516 i=BIO_write(c_bio,"hello from client\n",18); in doit() 521 if (BIO_should_retry(c_bio)) in doit() 523 if (BIO_should_read(c_bio)) in doit() 525 if (BIO_should_write(c_bio)) in doit() 548 i=BIO_read(c_bio,cbuf,100); in doit() [all …]
|
/external/openssl/ssl/ |
D | ssltest.c | 1594 BIO *c_bio=NULL; in doit() local 1613 c_bio=BIO_new(BIO_f_ssl()); in doit() 1615 if ((c_bio == NULL) || (s_bio == NULL)) in doit() 1623 BIO_set_ssl(c_bio,c_ssl,BIO_NOCLOSE); in doit() 1642 i=(int)BIO_pending(c_bio); in doit() 1679 i=BIO_write(c_bio,cbuf,j); in doit() 1684 if (BIO_should_retry(c_bio)) in doit() 1686 if (BIO_should_read(c_bio)) in doit() 1688 if (BIO_should_write(c_bio)) in doit() 1715 i=BIO_read(c_bio,cbuf,sizeof(cbuf)); in doit() [all …]
|