dovecot-2.2: lib-ssl-iostream: Removed unused iostream-ssl-none.c
dovecot at dovecot.org
dovecot at dovecot.org
Thu Apr 4 13:21:10 EEST 2013
details: http://hg.dovecot.org/dovecot-2.2/rev/778daa3852ef
changeset: 16144:778daa3852ef
user: Timo Sirainen <tss at iki.fi>
date: Thu Apr 04 13:12:26 2013 +0300
description:
lib-ssl-iostream: Removed unused iostream-ssl-none.c
diffstat:
src/lib-ssl-iostream/iostream-ssl-none.c | 68 --------------------------------
1 files changed, 0 insertions(+), 68 deletions(-)
diffs (72 lines):
diff -r cb4dc46f3327 -r 778daa3852ef src/lib-ssl-iostream/iostream-ssl-none.c
--- a/src/lib-ssl-iostream/iostream-ssl-none.c Thu Apr 04 12:48:52 2013 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,68 +0,0 @@
-/* Copyright (c) 2011-2013 Dovecot authors, see the included COPYING file */
-
-#include "lib.h"
-#include "iostream-ssl.h"
-
-int io_stream_create_ssl(struct ssl_iostream_context *ctx ATTR_UNUSED,
- const char *source ATTR_UNUSED,
- const struct ssl_iostream_settings *set ATTR_UNUSED,
- struct istream **input ATTR_UNUSED,
- struct ostream **output ATTR_UNUSED,
- struct ssl_iostream **iostream_r)
-{
- *iostream_r = NULL;
- return -1;
-}
-
-void ssl_iostream_unref(struct ssl_iostream **ssl_io ATTR_UNUSED)
-{
-}
-
-void ssl_iostream_destroy(struct ssl_iostream **ssl_io ATTR_UNUSED)
-{
-}
-
-int ssl_iostream_handshake(struct ssl_iostream *ssl_io ATTR_UNUSED)
-{
- return -1;
-}
-void ssl_iostream_set_handshake_callback(struct ssl_iostream *ssl_io ATTR_UNUSED,
- int (*callback)(void *context) ATTR_UNUSED,
- void *context ATTR_UNUSED) {}
-
-bool ssl_iostream_is_handshaked(const struct ssl_iostream *ssl_io ATTR_UNUSED) { return FALSE; }
-bool ssl_iostream_has_valid_client_cert(const struct ssl_iostream *ssl_io ATTR_UNUSED) { return FALSE; }
-bool ssl_iostream_has_broken_client_cert(struct ssl_iostream *ssl_io ATTR_UNUSED) { return TRUE; }
-int ssl_iostream_cert_match_name(struct ssl_iostream *ssl_io ATTR_UNUSED, const char *name ATTR_UNUSED) { return -1; }
-const char *ssl_iostream_get_peer_name(struct ssl_iostream *ssl_io ATTR_UNUSED) { return NULL; }
-const char *ssl_iostream_get_security_string(struct ssl_iostream *ssl_io ATTR_UNUSED) { return NULL; }
-const char *ssl_iostream_get_last_error(struct ssl_iostream *ssl_io ATTR_UNUSED) { return NULL; }
-
-int ssl_iostream_generate_params(buffer_t *output ATTR_UNUSED)
-{
- return -1;
-}
-int ssl_iostream_context_import_params(struct ssl_iostream_context *ctx ATTR_UNUSED,
- const buffer_t *input ATTR_UNUSED)
-{
- return -1;
-}
-
-int ssl_iostream_context_init_client(const char *source ATTR_UNUSED,
- const struct ssl_iostream_settings *set ATTR_UNUSED,
- struct ssl_iostream_context **ctx_r ATTR_UNUSED)
-{
- return -1;
-}
-
-int ssl_iostream_context_init_server(const char *source ATTR_UNUSED,
- const struct ssl_iostream_settings *set ATTR_UNUSED,
- struct ssl_iostream_context **ctx_r)
-{
- *ctx_r = NULL;
- return -1;
-}
-
-void ssl_iostream_context_deinit(struct ssl_iostream_context **ctx ATTR_UNUSED)
-{
-}
More information about the dovecot-cvs
mailing list