]> 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:18 +0000 (17:56 +0000)
commitf2961f048d898e1cd54cfe144181daa4ccbfef7f
tree5e2669d55bc75cc774eff029c0eae7daebf30dc6
parent978d09fc350006669309aace7fe3d48e1067e143
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