Lines Matching defs:io

2207             BIO_printf(bio_err, "turning on non blocking io\n");
2801 BIO *io, *ssl_bio, *sbio;
2809 io = BIO_new(BIO_f_buffer());
2811 if ((io == NULL) || (ssl_bio == NULL))
2819 BIO_printf(bio_err, "turning on non blocking io\n");
2826 if (!BIO_set_write_buffer_size(io, bufsize))
2858 BIO_push(io, ssl_bio);
2860 io = BIO_push(BIO_new(BIO_f_ebcdic_filter()), io);
2917 i = BIO_gets(io, buf, bufsize - 1);
2919 if (!BIO_should_retry(io)) {
2926 if (BIO_should_io_special(io)
2927 && BIO_get_retry_reason(io) == BIO_RR_SSL_X509_LOOKUP) {
2961 BIO_puts(io,
2963 BIO_puts(io, "<HTML><BODY BGCOLOR=\"#ffffff\">\n");
2964 BIO_puts(io, "<pre>\n");
2965 /* BIO_puts(io,SSLeay_version(SSLEAY_VERSION));*/
2966 BIO_puts(io, "\n");
2968 BIO_puts(io, local_argv[i]);
2969 BIO_write(io, " ", 1);
2971 BIO_puts(io, "\n");
2973 BIO_printf(io,
2981 BIO_printf(io, "Ciphers supported in s_server binary\n");
2986 BIO_printf(io, "%-11s:%-25s",
2989 BIO_puts(io, "\n");
2991 BIO_puts(io, "\n");
2994 BIO_printf(io,
2999 BIO_write(io, space, 26 - j);
3002 BIO_write(io, ((i % 3) ? " " : "\n"), 1);
3004 BIO_write(io, p, 1);
3009 BIO_puts(io, "\n");
3011 ssl_print_sigalgs(io, con);
3013 ssl_print_curves(io, con, 0);
3015 BIO_printf(io, (SSL_cache_hit(con)
3018 BIO_printf(io, "%s, Cipher is %s\n",
3020 SSL_SESSION_print(io, SSL_get_session(con));
3021 BIO_printf(io, "---\n");
3022 print_stats(io, SSL_get_SSL_CTX(con));
3023 BIO_printf(io, "---\n");
3026 BIO_printf(io, "Client certificate\n");
3027 X509_print(io, peer);
3028 PEM_write_bio_X509(io, peer);
3030 BIO_puts(io, "no client certificate available\n");
3031 BIO_puts(io, "</pre></BODY></HTML>\r\n\r\n");
3072 BIO_puts(io, text);
3073 BIO_printf(io, "'%s' is an invalid file name\r\n", p);
3079 BIO_puts(io, text);
3080 BIO_printf(io, "'%s' contains '..' or ':'\r\n", p);
3085 BIO_puts(io, text);
3086 BIO_printf(io, "'%s' is an invalid path\r\n", p);
3100 BIO_puts(io, text);
3101 BIO_printf(io, "'%s' is a directory\r\n", p);
3107 BIO_puts(io, text);
3108 BIO_printf(io, "Error opening '%s'\r\n", p);
3109 ERR_print_errors(io);
3121 BIO_puts(io,
3124 BIO_puts(io,
3152 k = BIO_write(io, &(buf[j]), i - j);
3154 if (!BIO_should_retry(io))
3171 i = (int)BIO_flush(io);
3173 if (!BIO_should_retry(io))
3185 * SSL_shutdown(con); A shutdown gets sent in the BIO_free_all(io)
3197 if (io != NULL)
3198 BIO_free_all(io);
3209 BIO *io, *ssl_bio, *sbio;
3217 io = BIO_new(BIO_f_buffer());
3219 if ((io == NULL) || (ssl_bio == NULL))
3223 if (!BIO_set_write_buffer_size(io, bufsize))
3248 BIO_push(io, ssl_bio);
3250 io = BIO_push(BIO_new(BIO_f_ebcdic_filter()), io);
3269 i = BIO_do_handshake(io);
3272 if (!BIO_should_retry(io)) {
3278 if (BIO_should_io_special(io)
3279 && BIO_get_retry_reason(io) == BIO_RR_SSL_X509_LOOKUP) {
3298 i = BIO_gets(io, buf, bufsize - 1);
3300 if (!BIO_should_retry(io)) {
3307 if (BIO_should_io_special(io)
3308 && BIO_get_retry_reason(io) == BIO_RR_SSL_X509_LOOKUP) {
3346 BIO_write(io, buf, i + 1);
3348 i = BIO_flush(io);
3351 if (!BIO_should_retry(io))
3364 if (io != NULL)
3365 BIO_free_all(io);