Lines Matching refs:io

1786 			BIO_printf(bio_err,"turning on non blocking io\n");
2260 BIO *io,*ssl_bio,*sbio;
2264 io=BIO_new(BIO_f_buffer());
2266 if ((io == NULL) || (ssl_bio == NULL)) goto err;
2274 BIO_printf(bio_err,"turning on non blocking io\n");
2281 if (!BIO_set_write_buffer_size(io,bufsize)) goto err;
2314 BIO_push(io,ssl_bio);
2316 io = BIO_push(BIO_new(BIO_f_ebcdic_filter()),io);
2357 i=BIO_gets(io,buf,bufsize-1);
2360 if (!BIO_should_retry(io))
2392 BIO_puts(io,"HTTP/1.0 200 ok\r\nContent-type: text/html\r\n\r\n");
2393 BIO_puts(io,"<HTML><BODY BGCOLOR=\"#ffffff\">\n");
2394 BIO_puts(io,"<pre>\n");
2395 /* BIO_puts(io,SSLeay_version(SSLEAY_VERSION));*/
2396 BIO_puts(io,"\n");
2399 BIO_puts(io,local_argv[i]);
2400 BIO_write(io," ",1);
2402 BIO_puts(io,"\n");
2406 BIO_printf(io,"Ciphers supported in s_server binary\n");
2412 BIO_printf(io,"%-11s:%-25s",
2416 BIO_puts(io,"\n");
2418 BIO_puts(io,"\n");
2422 BIO_printf(io,"---\nCiphers common between both SSL end points:\n");
2428 BIO_write(io,space,26-j);
2431 BIO_write(io,((i%3)?" ":"\n"),1);
2435 BIO_write(io,p,1);
2440 BIO_puts(io,"\n");
2442 BIO_printf(io,((con->hit)
2446 BIO_printf(io,"%s, Cipher is %s\n",
2449 SSL_SESSION_print(io,SSL_get_session(con));
2450 BIO_printf(io,"---\n");
2451 print_stats(io,SSL_get_SSL_CTX(con));
2452 BIO_printf(io,"---\n");
2456 BIO_printf(io,"Client certificate\n");
2457 X509_print(io,peer);
2458 PEM_write_bio_X509(io,peer);
2461 BIO_puts(io,"no client certificate available\n");
2462 BIO_puts(io,"</BODY></HTML>\r\n\r\n");
2500 BIO_puts(io,text);
2501 BIO_printf(io,"'%s' is an invalid file name\r\n",p);
2508 BIO_puts(io,text);
2509 BIO_printf(io,"'%s' contains '..' reference\r\n",p);
2515 BIO_puts(io,text);
2516 BIO_printf(io,"'%s' is an invalid path\r\n",p);
2532 BIO_puts(io,text);
2533 BIO_printf(io,"'%s' is a directory\r\n",p);
2540 BIO_puts(io,text);
2541 BIO_printf(io,"Error opening '%s'\r\n",p);
2542 ERR_print_errors(io);
2555 BIO_puts(io,"HTTP/1.0 200 ok\r\nContent-type: text/html\r\n\r\n");
2557 BIO_puts(io,"HTTP/1.0 200 ok\r\nContent-type: text/plain\r\n\r\n");
2581 k=BIO_write(io,&(buf[j]),i-j);
2584 if (!BIO_should_retry(io))
2605 i=(int)BIO_flush(io);
2608 if (!BIO_should_retry(io))
2621 * BIO_free_all(io) procession */
2630 if (io != NULL) BIO_free_all(io);