]> 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 Development Team <asteriskteam@digium.com>
Fri, 12 Jan 2024 18:21:32 +0000 (18:21 +0000)
commitfbecf18b05b50a37b7956761e39239a8538b464a
tree0c9dce9c598cf8fe46342a94ff0df31cba1ba116
parent00498f4f6786deacc670d8c26948552467027c6d
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

(cherry picked from commit 992ea8698121b6623dd371ffe7d472ae8167d188)
main/tcptls.c
res/res_http_websocket.c