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

/external/openssl/crypto/threads/
H A Dmttest.c428 BIO *s_bio=NULL; local
456 s_bio=BIO_new(BIO_f_ssl());
457 if ((c_bio == NULL) || (s_bio == NULL)) goto err;
465 BIO_set_ssl(s_bio,s_ssl,(ctx[3] == NULL)?BIO_CLOSE:BIO_NOCLOSE);
479 i=(int)BIO_pending(s_bio);
588 i=BIO_read(s_bio,sbuf,100);
593 if (BIO_should_retry(s_bio))
595 if (BIO_should_read(s_bio))
597 if (BIO_should_write(s_bio))
625 i=BIO_write(s_bio,"hell
[all...]
/external/openssl/ssl/
H A Dssltest.c1572 BIO *s_bio=NULL; local
1591 s_bio=BIO_new(BIO_f_ssl());
1592 if ((c_bio == NULL) || (s_bio == NULL))
1604 BIO_set_ssl(s_bio,s_ssl,BIO_NOCLOSE);
1616 i=(int)BIO_pending(s_bio);
1740 i=BIO_read(s_bio,sbuf,sizeof(cbuf));
1745 if (BIO_should_retry(s_bio))
1747 if (BIO_should_read(s_bio))
1749 if (BIO_should_write(s_bio))
1787 i=BIO_write(s_bio,sbu
[all...]

Completed in 611 milliseconds