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

/macosx-10.10/OpenSSL098-52/src/ssl/
H A Dssl_task.c266 BIO *s_bio=NULL; local
284 s_bio=BIO_new(BIO_f_ssl());
285 if ((c_bio == NULL) || (s_bio == NULL)) goto err;
289 BIO_set_ssl(s_bio,s_ssl,BIO_CLOSE);
329 i = BIO_read ( s_bio, msg.data, msg.length );
340 i = BIO_write ( s_bio, msg.data, msg.length );
367 if (s_bio != NULL) BIO_free(s_bio);
H A Dssltest.c1358 BIO *s_bio=NULL; local
1377 s_bio=BIO_new(BIO_f_ssl());
1378 if ((c_bio == NULL) || (s_bio == NULL))
1390 BIO_set_ssl(s_bio,s_ssl,BIO_NOCLOSE);
1402 i=(int)BIO_pending(s_bio);
1526 i=BIO_read(s_bio,sbuf,sizeof(cbuf));
1531 if (BIO_should_retry(s_bio))
1533 if (BIO_should_read(s_bio))
1535 if (BIO_should_write(s_bio))
1573 i=BIO_write(s_bio,sbu
[all...]
/macosx-10.10/OpenSSL098-52/src/crypto/threads/
H A Dmttest.c426 BIO *s_bio=NULL; local
454 s_bio=BIO_new(BIO_f_ssl());
455 if ((c_bio == NULL) || (s_bio == NULL)) goto err;
463 BIO_set_ssl(s_bio,s_ssl,(ctx[3] == NULL)?BIO_CLOSE:BIO_NOCLOSE);
477 i=(int)BIO_pending(s_bio);
586 i=BIO_read(s_bio,sbuf,100);
591 if (BIO_should_retry(s_bio))
593 if (BIO_should_read(s_bio))
595 if (BIO_should_write(s_bio))
623 i=BIO_write(s_bio,"hell
[all...]
/macosx-10.10/OpenSSL098-52/src/test/
H A Dssltest.c1358 BIO *s_bio=NULL; local
1377 s_bio=BIO_new(BIO_f_ssl());
1378 if ((c_bio == NULL) || (s_bio == NULL))
1390 BIO_set_ssl(s_bio,s_ssl,BIO_NOCLOSE);
1402 i=(int)BIO_pending(s_bio);
1526 i=BIO_read(s_bio,sbuf,sizeof(cbuf));
1531 if (BIO_should_retry(s_bio))
1533 if (BIO_should_read(s_bio))
1535 if (BIO_should_write(s_bio))
1573 i=BIO_write(s_bio,sbu
[all...]

Completed in 176 milliseconds