Lines Matching defs:ssl_io
9 struct ssl_iostream *ssl_io;
19 i_stream_close(sstream->ssl_io->plain_input);
27 sstream->ssl_io->ssl_input = NULL;
28 ssl_iostream_unref(&sstream->ssl_io);
34 struct ssl_iostream *ssl_io = sstream->ssl_io;
45 ret = openssl_iostream_more(ssl_io,
52 "%s", ssl_io->last_error);
60 while ((ret = SSL_read(ssl_io->ssl,
63 ret = openssl_iostream_handle_error(ssl_io, ret,
68 if (ssl_io->last_error != NULL) {
70 "%s", ssl_io->last_error);
87 while ((ret = SSL_read(ssl_io->ssl, buffer, sizeof(buffer))) > 0) {
102 i_assert(i_stream_get_data_size(sstream->ssl_io->plain_input) == 0);
107 struct istream *openssl_i_stream_create_ssl(struct ssl_iostream *ssl_io)
111 ssl_io->refcount++;
114 sstream->ssl_io = ssl_io;
118 ssl_io->plain_input->real_stream->max_buffer_size;
123 i_stream_get_fd(ssl_io->plain_input), 0);