r15400: Move the TLS code behind the socket interface.
authorAndrew Bartlett <abartlet@samba.org>
Tue, 2 May 2006 20:15:47 +0000 (20:15 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:05:32 +0000 (14:05 -0500)
commit09b2f30dfa7a640f5187b4933204e9680be61497
tree2c8d6890495d9988ebab061519be9b9d9a5eddf4
parent74bd8170fc9d53403899721bc4b620121946e4d2
r15400: Move the TLS code behind the socket interface.

This reduces caller complexity, because the TLS code is now called
just like any other socket.  (A new socket context is returned by the
tls_init_server and tls_init_client routines).

When TLS is not available, the original socket is returned.

Andrew Bartlett
14 files changed:
source/ldap_server/ldap_server.c
source/ldap_server/ldap_server.h
source/lib/socket/socket.c
source/lib/socket/socket.h
source/lib/stream/packet.c
source/lib/stream/packet.h
source/lib/tls/tls.c
source/lib/tls/tls.h
source/libcli/ldap/ldap_bind.c
source/libcli/ldap/ldap_client.c
source/libcli/ldap/ldap_client.h
source/web_server/http.c
source/web_server/web_server.c
source/web_server/web_server.h