branch: externals/websocket commit ccbe93ac8b5858a85686b83642fbd6e828a47deb Author: Andrew Hyatt <ahy...@gmail.com> Commit: Andrew Hyatt <ahy...@gmail.com>
Stop checking certs in functional test. Because echo.websocket.org’ s cert is untrusted, stop checking trust during the functional test. Otherwise the connection will fail by default. --- websocket-functional-test.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/websocket-functional-test.el b/websocket-functional-test.el index 97e21ce4c0..80eb004d7c 100644 --- a/websocket-functional-test.el +++ b/websocket-functional-test.el @@ -94,6 +94,10 @@ ;; Remote server test, with wss ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; echo.websocket.org has an untrusted certificate, for the test to +;; proceed, we need to disable trust checking. +(setq tls-checktrust nil) + (when (>= (string-to-number (substring emacs-version 0 2)) 24) (message "Testing with wss://echo.websocket.org") (when (eq system-type 'windows-nt)