]> 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)
committerasterisk-org-access-app[bot] <120671045+asterisk-org-access-app[bot]@users.noreply.github.com>
Tue, 14 Nov 2023 17:56:24 +0000 (17:56 +0000)
commit611010d67de0484f2b238fbe0f0d0e453d25d644
tree72d5e9adf0d375bbdb6c2cb53a2e38394abe03c6
parent91c8866ff3bec674666206d6e44fba5a1fd90ff1
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