1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/lib
Andy Green cf2ed9f758 ss: use system trust store if none given in policy
For general OpenSSL case, we leave connection validity to system trust
store bundle to decide; even for mbedtls it may have been passed a
bundle externally and we don't want to have to list the x.509 stack
explicitly for a server we don't have any control over.

Instead of erroring out, allow the case no trust store is specified,
just use vhost[0] and let the system trust store decide if it likes
the server's cert or not.


No ABI change.
2020-03-16 16:59:17 +00:00
..
abstract cleaning 2020-01-05 22:17:58 +00:00
core lws_spa: avoid reading past table 2020-03-14 07:55:58 +00:00
core-net client: unify post tls accept handling 2020-03-07 20:20:07 +00:00
event-libs ev: check for IOURING 2020-03-01 08:14:44 +00:00
jose jose: copy typ into jose object without testing for JWT 2020-03-04 11:00:04 +00:00
misc fsmount: delete session dir on mount 2020-03-05 14:12:24 +00:00
plat freertos: forward-port lwip version adaptations 2020-03-04 12:17:49 +00:00
roles lws_spa: avoid reading past table 2020-03-14 07:55:58 +00:00
secure-streams ss: use system trust store if none given in policy 2020-03-16 16:59:17 +00:00
system client: secure streams 2020-03-04 12:17:49 +00:00
tls build: release mode compile fixes 2020-03-10 06:46:35 +00:00
README.md cleaning 2020-01-05 22:17:58 +00:00

Library sources layout

Code that goes in the libwebsockets library itself lives down ./lib

Path Sources
lib/core Core lws code related to generic fd and wsi servicing and management
lib/core-net Core lws code that applies only if networking enabled
lib/event-libs Code containing optional event-lib specific adaptations
lib/jose JOSE / JWS / JWK / JWE implementations
lib/misc Code for various mostly optional miscellaneous features
lib/plat Platform-specific adaptation code
lib/roles Code for specific optional wsi roles, eg, http/1, h2, ws, raw, etc
lib/system Code for system-level features, eg, dhcpclient
lib/tls Code supporting the various TLS libraries