Rémi Denis-Courmont
79f332e2d8
tls: replace fd with get_fd callback
11 years ago
Rémi Denis-Courmont
2f5e439929
tls: use I/O vector for receiving
11 years ago
Rémi Denis-Courmont
96868b6951
tls: use I/O vector for sending
11 years ago
Felix Paul Kühne
5f40a878b1
securetransport: fix segfault
11 years ago
David Fuhrmann
000d5d3f23
securetransport: remove wrong check in recv function
sys should always be set (but lets assert if not), buf == NULL
should not be called from VLC as well. And the return value was
kind of wrong.
11 years ago
David Fuhrmann
0056575dab
securetransport: Call SSLClose in error paths again
11 years ago
David Fuhrmann
2ed3f86a38
securetransport: Add debug message for shutdown, fix error handling
errSSLClosedGraceful does not seem to be a valid return code
for this function.
11 years ago
David Fuhrmann
38fb83f88e
securetransport: Change warning log to debug
This is no warning, but normal behaviour.
11 years ago
Felix Paul Kühne
c46f984fc8
securetransport: prevent invalid access
11 years ago
Felix Paul Kühne
3d2c398282
securetransport: implement new shutdown function
11 years ago
David Fuhrmann
3dbc71f355
securetransport: Fix compilation
11 years ago
Rémi Denis-Courmont
754c3ef09a
tls: vlc_tls_t needs not be a VLC object
11 years ago
Rémi Denis-Courmont
f48b0f3fee
tls: pass credentials pointer to handshake function
11 years ago
Rémi Denis-Courmont
4b2909cad5
tls: move close callback from credentials to session
11 years ago
Rémi Denis-Courmont
d3c0569cd2
tls: remove virtual_socket_t and clean send/recv prototypes up
11 years ago
Jean-Baptiste Kempf
5dafc001bb
Modules: Remove tabs in source code
11 years ago
Felix Paul Kühne
23cf269808
securetransport: fix compilation warnings
12 years ago
David Fuhrmann
cb1544cbe0
securetransport: fix compilation
12 years ago
David Fuhrmann
15427d0c79
securetransport: adapt to latest changes in tls core
12 years ago
David Fuhrmann
08b6366941
securetransport: fix memory leak in error paths
13 years ago
David Fuhrmann
7342f1c42d
securetransport: Coding style unification
13 years ago
David Fuhrmann
b9f4af75ef
securetransport: Add TLS server module
This module uses the string passed by --http-cert to search
the server certificate in the OSX keychain. The corresponding
private key is selected automatically.
13 years ago
David Fuhrmann
18b224c98b
securetransport: add missing error checking
13 years ago
David Fuhrmann
673d45d0d5
Add secure transport TLS module
Secure Transport is a TLS library part of the Security framework
(preinstalled on every iOS and MacOS device). This library does
certificate validation during handshake automatically using the
root certificates from the preinstalled certificate store.
The main reason for this module is proper certificate validation
on iOS devices. This is not possible with gnutls, because there is
no access to the root certificates for external applications.
The module is also intended for use on OSX.
13 years ago