coturn/examples
Pavel Punsky 4bab2adba4
Use a single SSL context object (#989)
openssl allows multiple TLS version support through a single SSL_CTX
object.

This PR replaces 4 per-version SSL_CTX objects with a single object
(DTLS is not yet changed).
SSL context initialization code for openssl with modern API (>=1.1.0)
uses `TLS_server_method` and `SSL_CTX_set_min_proto_version` instead of
enabling specific TLS version. Byproduct of this is TLSv1_3 support when
used with openssl-1.1.1 and above

TLS 1.2 and TLS 1.3 cannot be disabled (as before)

Test plan:
- run_tests.sh script now runs turnserver with SSL certificate (which
enables TLS support)
- run_tests.sh now has one more basic test that uses TLS protocol

Co-authored-by: Pavel Punsky <pavel.punsky@epicgames.com>
2022-09-28 09:50:25 +02:00
..
ca Add new test certs 2020-04-28 09:26:31 +00:00
etc Document dependency between new-log-timestamp-format and new-log-timestamp 2022-08-27 20:34:35 -07:00
scripts Fix typo (---allow-loopback-peers) 2021-05-07 21:25:40 +02:00
var/db web interface adjusted 2015-09-15 22:42:39 -07:00
cpu-mem.sh tidy 2018-11-05 14:15:36 +00:00
run_all_clients.sh Add helper script to run all clients 2018-11-05 10:56:43 +00:00
run_tests.sh Use a single SSL context object (#989) 2022-09-28 09:50:25 +02:00