tcptls: Allow OpenSSL configured with no-dh.
authorAlexander Traud <pabstraud@compuserve.com>
Fri, 25 May 2018 14:55:26 +0000 (16:55 +0200)
committerAlexander Traud <pabstraud@compuserve.com>
Fri, 25 May 2018 14:55:26 +0000 (16:55 +0200)
commitd36338ce2b720473e8f0f4d2864b8a7bf935902c
treeed0235a33793bb6d78974b03a049c6422aff7799
parent4ea98e49f16dd9c1440e40bc06c6c0f1e0bd4170
tcptls: Allow OpenSSL configured with no-dh.

Additionally, this change allows auto-negotiation of the elliptic curve/group
for servers, not only with OpenSSL 1.0.2 but also with OpenSSL 1.1.0 and newer.
This enables X25519 (since OpenSSL 1.1.0) and X448 (since OpenSSL 1.1.1) as a
side-effect.

ASTERISK-27876

Change-Id: I62c2aba4a630aefc231b71f646207e8c027d9497
main/tcptls.c