Files
wolfssl/tests
Juliusz Sosinowicz b402102e58 Add backwards compatibility for wolfSSL_get_session
Before this pull request, `wolfSSL_get_session` always returned a pointer to the internal session cache. The user can't tell if the underlying session hasn't changed before it calls `wolfSSL_set_session` on it. This PR adds a define `NO_SESSION_CACHE_REF` (for now only defined with `OPENSSL_COMPATIBLE_DEFAULTS`) that makes wolfSSL only return a pointer to `ssl->session`. The issue is that this makes the pointer returned non-persistent ie: it gets free'd with the `WOLFSSL` object. This commit leverages the lightweight `ClientCache` to "increase" the size of the session cache. The hash of the session ID is checked to make sure that the underlying session hasn't changed.
2022-02-23 09:47:34 +01:00
..
2022-01-19 13:35:29 +01:00
2020-12-17 14:26:49 +01:00
2021-03-11 13:42:46 +07:00
2022-01-31 15:29:25 -05:00
2022-01-31 15:29:25 -05:00
2022-01-31 15:29:25 -05:00
2022-01-31 15:29:25 -05:00
2022-01-31 15:29:25 -05:00
2022-01-31 15:29:25 -05:00
2020-11-24 11:46:10 -08:00
2020-07-20 15:03:48 -07:00
2022-01-31 15:29:25 -05:00
2022-02-23 09:47:34 +01:00
2022-01-31 15:29:25 -05:00
2020-12-17 14:26:49 +01:00

Before creating any new configure files (.conf) read the CONF_FILES_README.md