]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_http_websocket.c: Set hostname on client for certificate validation.
authorSean Bright <sean@seanbright.com>
Thu, 9 Nov 2023 22:59:19 +0000 (17:59 -0500)
committerSean Bright <sean@seanbright.com>
Tue, 14 Nov 2023 17:56:21 +0000 (17:56 +0000)
commit40a9f5a88c96bfcfac28a7eb210a562f2490fe3d
tree6eac40efe1f47ae646f004b35c39b8f614b09f9c
parent1e426b6f1c52069c0ae5daeb03236f4bc1c41371
res_http_websocket.c: Set hostname on client for certificate validation.

Additionally add a `assert()` to in the TLS client setup code to
ensure that hostname is set when it is supposed to be.

Fixes #433
main/tcptls.c
res/res_http_websocket.c