Rémi Denis-Courmont
c212795864
tls: separate client and server types
They are manipulated differently. It makes sense to use the same types
for session, but not so much for credentials.
8 years ago
Rémi Denis-Courmont
80b494b30f
network: use vlc_tls_GetPolLFD()
8 years ago
Francois Cartegnie
39cecfd7ca
test: fix distcheck with dash uri test
8 years ago
Francois Cartegnie
d5fd1c8ca2
tests: check dash uri token replacements
8 years ago
Rémi Denis-Courmont
9541414aea
tls: use const struct for callbacks
8 years ago
Steve Lhomme
333ed248b9
use the proper check for sys/socket.h availability
8 years ago
Francois Cartegnie
65a3c5eb54
tests: add annexb lookup test
8 years ago
Francois Cartegnie
9aa79523e1
test: hxxx: reorder include
8 years ago
Francois Cartegnie
bb9623a7e8
test: hxxx: missing config.h
8 years ago
Rémi Denis-Courmont
62481d9b77
test: use custom cert directory for TLS tests, add some cases
This avoids the ugly hack based on dialogs and home directory.
9 years ago
Rémi Denis-Courmont
dfadf3eccb
gnutls: add option to load CAs from a directory
This is useful at least in automated testing.
9 years ago
Rémi Denis-Courmont
e5d1546336
tls: use newer vlc_tls_* APIs in test case
9 years ago
Rémi Denis-Courmont
899f81113f
vlc_tls_ServerSessionCreate() takes a vlc_tls_t
This adds transitional vlc_tls_ServerSessionCreateFD() helper for
compatiblity. This is only to maintain sequential builds. The helper
will be removed shortly.
9 years ago
David Fuhrmann
01b0ff943c
Revert "tests/tls: Disable checks for ALPN on apple platforms"
This is not sufficient to disable the test currently.
This reverts commit 784ab6ce69 .
10 years ago
David Fuhrmann
784ab6ce69
tests/tls: Disable checks for ALPN on apple platforms
On Apple platforms, ALPN does not work as securetransport does
not provide any public API for that. So do not check for that
feature until support is added.
10 years ago
Francois Cartegnie
c5ce960994
packetizer: hxxx: add NAL iterators
10 years ago
Duncan McNAMARA
b9bf8bc9dd
keystore : Deleted kwallet module
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
10 years ago
Thomas Guillem
9e4da0a84d
test/keystore: test KEY_AUTHTYPE
10 years ago
Thomas Guillem
c23b610d33
test: keystore: test that we can override a secret
10 years ago
Rémi Denis-Courmont
858bd2e46b
test/keystore: use vlc_mkstemp()
10 years ago
Rémi Denis-Courmont
8f2e1e57cf
Use vlc_close()
10 years ago
Thomas Guillem
b37866a867
dialog: re-order callback arguments
The opaque p_data is now the first argument for the sake of consistency.
10 years ago
Thomas Guillem
00fc74abfe
keystore/memory: split, add file module
This module is deactivated by default.
10 years ago
Thomas Guillem
789f16939b
keystore/memory: remove locked singleton
10 years ago
Thomas Guillem
3078d5ded7
keystore/plaintext: rename to memory
No functional changes.
10 years ago
Thomas Guillem
183d5cda47
dialog: use new API
10 years ago
Felix Paul Kühne
bba9bcf046
Add keychain crypto store
10 years ago
Thomas Guillem
e6ea1bfbfc
keystore test: fix invalid free
10 years ago
Thomas Guillem
13fffefd13
keystore test: add comment
10 years ago
Rémi Denis-Courmont
2c1bb0b798
tls: accept abstract transport layer stream for client sessions
Instead of a socket file descriptor, client sessions are now run on
top of an abstract I/O stream. This enables e.g. TLS over TLS, which
would be required for HTTPS through HTTPS proxy.
10 years ago
Rémi Denis-Courmont
32c3a6039c
tls: split server-specific session creation function...
...from common code. And document.
10 years ago
Rémi Denis-Courmont
79f332e2d8
tls: replace fd with get_fd callback
10 years ago
Rémi Denis-Courmont
2f5e439929
tls: use I/O vector for receiving
10 years ago
Rémi Denis-Courmont
96868b6951
tls: use I/O vector for sending
10 years ago
Rémi Denis-Courmont
fe8f8bb20a
tls: test output congestion too
10 years ago
Rémi Denis-Courmont
ff14507829
tls: fix coverage report
GCC coverage does not like exec*().
10 years ago
Rémi Denis-Courmont
062c2c3ea1
tls: revector test
10 years ago
Michael Tänzer
680ced4162
Fix tests that incorrectly referenced the libvlc_internal.h
Otherwise tests fail to build.
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
10 years ago
Rémi Denis-Courmont
321c1d51b3
Use vlc_socketpair()
10 years ago
Rémi Denis-Courmont
11c606b18e
tls: improve and robustify module test
10 years ago
Rémi Denis-Courmont
136b658538
tls: add module test
10 years ago
Jean-Baptiste Kempf
b31705e67d
Keystore test: fix memleak
Close #16338
10 years ago
Hugo Beauzée-Luyssen
1c7f99b0a1
Test: undefine NDEBUG for all build configurations
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years ago
Thomas Guillem
6f5bec4fd5
test: fix keystore test suite
- Create a libvlc instance, in order to init the module bank, before testing if
modules exist.
- Use mkstemp to create a unique temporary file used by plaintext
- Don't test secret and kwallet by default in order to don't pollute
developer's keystores (run this test with "-a" argv to test every keystores).
10 years ago
Jean-Baptiste Kempf
b96e7c1691
Test: fix typo
Close #16338
10 years ago
Thomas Guillem
868b8453fb
add tests
10 years ago
Francois Cartegnie
f539b189b8
test: fix distclean
10 years ago
Francois Cartegnie
4fd90c582c
tests: add nal conversions test
10 years ago
Rémi Denis-Courmont
3e48c330dc
Fix inverted shell negation "! test" -> "test !"
14 years ago
Rémi Duraffort
9dbbfa1107
lua test: move the tests from modules/misc/lua to modules/lua
15 years ago