tls: support specifying accepted TLS ciphers
authorJo-Philipp Wich <jo@mein.io>
Sat, 15 Feb 2020 20:35:40 +0000 (21:35 +0100)
committerJo-Philipp Wich <jo@mein.io>
Sat, 15 Feb 2020 22:47:00 +0000 (23:47 +0100)
commit5fc551d620bb353dbac68fe4d23da12784575118
tree3809453943aa538ed987faebc4f728ab201b6c62
parent2ee323c01079248baa9465969df9e25b5fb68cdf
tls: support specifying accepted TLS ciphers

Introduce a new `-P` option which allows specifying a colon separated list
of accepted TLS ciphers.

Depending on the underlying ustream-ssl provider, the list either follows
OpenSSL's cipher string format or, in case of mbedTLS, is a simple colon
separated cipher whitelist.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
main.c
tls.c
tls.h