Commit graph

5 commits

Author SHA1 Message Date
Fabio Alessandrelli
629783f3aa Always verify peer certificate in lws.
Behavior is defined by SSL flags passed via the context.

Simplified port of the patch submitted and accepted in lws master branch
(PR 1215)
2018-04-03 19:25:24 +02:00
Fabio Alessandrelli
262cb262eb Bump libwebsockets to version 2.4.2 2018-04-03 19:25:24 +02:00
Fabio Alessandrelli
ea7af81460 Fix lws compilation on FreeBSD, same as OSX
This error is actually fixed upstream, waiting for a new release
2018-02-28 18:09:43 +01:00
Fabio Alessandrelli
308b03b377 Small change to lws mbedtls_wrapper to fix OSX build.
Checks for OSX in thirdparty/lws/mbedtls_wrapper/include/platform/ssl_port.h
to include stdlib.h instead of malloc.h.

The bug is fixed upstream in master via LWS_HAVE_MALLOC_H,
but not in the 2.4.1 branch (as the file structure has, one again,
changed).
2018-02-14 01:26:23 +01:00
Fabio Alessandrelli
34b9fc3022 lws module now uses mbedtls as OpenSSL replacement 2018-02-14 01:26:23 +01:00