1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/lib/tls/openssl
Bing Zhao ff1b8ed0c9 tls: fix inbalanced tls restrict borrow/return calls
lws_tls_restrict_borrow() returns error when tls restriction limit is
reached. However lws_ssl_close() still calls lws_tls_restrict_return()
to decrease simultaneous_ssl. Thus LWS accepts more than allowed ssl
links, making simultaneous_ssl_restriction useless.

Fix it by tracking lws_tls_restrict_borrow() return value and only
calling lws_tls_restrict_return() if lws_tls_restrict_borrow() is
successful.
2021-07-07 08:47:37 +01:00
..
lws-genaes.c type comparisons: fixes 2021-01-05 10:56:38 +00:00
lws-gencrypto.c private.h: rename to contain dir 2019-08-15 10:49:52 +01:00
lws-genec.c windows: doesnt have #warning 2021-03-05 20:08:49 +00:00
lws-genhash.c OpenBSD: various api ports 2021-02-17 11:39:15 +00:00
lws-genrsa.c type comparisons: fixes 2021-01-05 10:56:38 +00:00
openssl-client.c tls: client: session cache synthetic cb 2021-05-04 15:54:32 +01:00
openssl-server.c opensslv3: handle deprecation of EC apis 2021-02-17 11:39:15 +00:00
openssl-session.c tls: client: session cache synthetic cb 2021-05-04 15:54:32 +01:00
openssl-ssl.c tls: fix inbalanced tls restrict borrow/return calls 2021-07-07 08:47:37 +01:00
openssl-tls.c smp: openssl: disallow trying to clean up mutexes twice 2021-04-08 13:02:57 +01:00
openssl-x509.c x509: support DER recovery 2021-03-13 08:06:17 +00:00
private-lib-tls-openssl.h mbedtls: session cache and resume 2021-04-04 05:44:08 +01:00