]> 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:15 +0000 (17:56 +0000)
commit992ea8698121b6623dd371ffe7d472ae8167d188
treef9e7372e55199a5e3a815099bc1866038d76e9b2
parent04fd8704e1e68ab621d6eb8688b99b123571664d
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