• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/apps/

Lines Matching defs:io

2186             BIO_printf(bio_err, "turning on non blocking io\n");
2776 BIO *io, *ssl_bio, *sbio;
2784 io = BIO_new(BIO_f_buffer());
2786 if ((io == NULL) || (ssl_bio == NULL))
2794 BIO_printf(bio_err, "turning on non blocking io\n");
2801 if (!BIO_set_write_buffer_size(io, bufsize))
2833 BIO_push(io, ssl_bio);
2835 io = BIO_push(BIO_new(BIO_f_ebcdic_filter()), io);
2892 i = BIO_gets(io, buf, bufsize - 1);
2894 if (!BIO_should_retry(io)) {
2901 if (BIO_should_io_special(io)
2902 && BIO_get_retry_reason(io) == BIO_RR_SSL_X509_LOOKUP) {
2936 BIO_puts(io,
2938 BIO_puts(io, "<HTML><BODY BGCOLOR=\"#ffffff\">\n");
2939 BIO_puts(io, "<pre>\n");
2940 /* BIO_puts(io,SSLeay_version(SSLEAY_VERSION));*/
2941 BIO_puts(io, "\n");
2943 BIO_puts(io, local_argv[i]);
2944 BIO_write(io, " ", 1);
2946 BIO_puts(io, "\n");
2948 BIO_printf(io,
2956 BIO_printf(io, "Ciphers supported in s_server binary\n");
2961 BIO_printf(io, "%-11s:%-25s",
2964 BIO_puts(io, "\n");
2966 BIO_puts(io, "\n");
2969 BIO_printf(io,
2974 BIO_write(io, space, 26 - j);
2977 BIO_write(io, ((i % 3) ? " " : "\n"), 1);
2979 BIO_write(io, p, 1);
2984 BIO_puts(io, "\n");
2986 ssl_print_sigalgs(io, con);
2988 ssl_print_curves(io, con, 0);
2990 BIO_printf(io, (SSL_cache_hit(con)
2993 BIO_printf(io, "%s, Cipher is %s\n",
2995 SSL_SESSION_print(io, SSL_get_session(con));
2996 BIO_printf(io, "---\n");
2997 print_stats(io, SSL_get_SSL_CTX(con));
2998 BIO_printf(io, "---\n");
3001 BIO_printf(io, "Client certificate\n");
3002 X509_print(io, peer);
3003 PEM_write_bio_X509(io, peer);
3005 BIO_puts(io, "no client certificate available\n");
3006 BIO_puts(io, "</BODY></HTML>\r\n\r\n");
3041 BIO_puts(io, text);
3042 BIO_printf(io, "'%s' is an invalid file name\r\n", p);
3048 BIO_puts(io, text);
3049 BIO_printf(io, "'%s' contains '..' reference\r\n", p);
3054 BIO_puts(io, text);
3055 BIO_printf(io, "'%s' is an invalid path\r\n", p);
3069 BIO_puts(io, text);
3070 BIO_printf(io, "'%s' is a directory\r\n", p);
3076 BIO_puts(io, text);
3077 BIO_printf(io, "Error opening '%s'\r\n", p);
3078 ERR_print_errors(io);
3090 BIO_puts(io,
3093 BIO_puts(io,
3121 k = BIO_write(io, &(buf[j]), i - j);
3123 if (!BIO_should_retry(io))
3140 i = (int)BIO_flush(io);
3142 if (!BIO_should_retry(io))
3154 * SSL_shutdown(con); A shutdown gets sent in the BIO_free_all(io)
3166 if (io != NULL)
3167 BIO_free_all(io);
3178 BIO *io, *ssl_bio, *sbio;
3186 io = BIO_new(BIO_f_buffer());
3188 if ((io == NULL) || (ssl_bio == NULL))
3192 if (!BIO_set_write_buffer_size(io, bufsize))
3217 BIO_push(io, ssl_bio);
3219 io = BIO_push(BIO_new(BIO_f_ebcdic_filter()), io);
3238 i = BIO_do_handshake(io);
3241 if (!BIO_should_retry(io)) {
3247 if (BIO_should_io_special(io)
3248 && BIO_get_retry_reason(io) == BIO_RR_SSL_X509_LOOKUP) {
3267 i = BIO_gets(io, buf, bufsize - 1);
3269 if (!BIO_should_retry(io)) {
3276 if (BIO_should_io_special(io)
3277 && BIO_get_retry_reason(io) == BIO_RR_SSL_X509_LOOKUP) {
3315 BIO_write(io, buf, i + 1);
3317 i = BIO_flush(io);
3320 if (!BIO_should_retry(io))
3333 if (io != NULL)
3334 BIO_free_all(io);