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)
commit742c110cd67f4995639822981e8bfcb1f652f2c4
treecd6774c861b0a968c3d22b24b5a02a0be9c54043
parent49994442bbb035b2c438a33f411d6b5a8b2313df
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
(This used to be commit 09b2f30dfa7a640f5187b4933204e9680be61497)
14 files changed:
source4/ldap_server/ldap_server.c
source4/ldap_server/ldap_server.h
source4/lib/socket/socket.c
source4/lib/socket/socket.h
source4/lib/stream/packet.c
source4/lib/stream/packet.h
source4/lib/tls/tls.c
source4/lib/tls/tls.h
source4/libcli/ldap/ldap_bind.c
source4/libcli/ldap/ldap_client.c
source4/libcli/ldap/ldap_client.h
source4/web_server/http.c
source4/web_server/web_server.c
source4/web_server/web_server.h