Files
meta-openembedded/meta-oe/recipes-connectivity
Kamlesh Gurudasani 53cbcaba3f libwebsockets: fix build against OpenSSL 3.5
OpenSSL 3.5 (first shipped in wrynose) made HMAC_CTX a fully opaque
type by removing its struct definition from the public headers. It was
deprecated since OpenSSL 3.0 but the struct remained visible until 3.5.

libwebsockets uses HMAC_CTX_new() to detect which form to use in its
lws-genhash.h public header: if found it uses HMAC_CTX *ctx (pointer),
otherwise it falls back to HMAC_CTX ctx (embedded struct).

In cross-compilation the CMake CHECK_FUNCTION_EXISTS probe for
HMAC_CTX_new can fail due to native libraries being incorrectly pulled
into the aarch64 link test, causing the function to be reported as not
found. Before OpenSSL 3.5 this was a silent failure: the fallback
embedded struct still compiled fine. With OpenSSL 3.5 the fallback
now fails with "field has incomplete type".

Force LWS_HAVE_HMAC_CTX_new=ON so the pointer form is always used.

Signed-off-by: Kamlesh Gurudasani <kamlesh@ti.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-07 18:21:52 -07:00
..
2025-12-24 13:18:24 -08:00
2026-04-01 13:16:41 -07:00
2026-02-25 09:49:49 -08:00
2026-04-03 23:50:55 -07:00
2026-01-12 08:53:43 -08:00
2026-01-12 08:53:41 -08:00
2025-09-26 15:31:36 -07:00
2025-07-12 13:50:02 -07:00
2025-07-13 09:46:09 -07:00
2026-03-02 19:25:56 -08:00
2026-05-13 00:15:13 -07:00
2026-04-10 08:03:23 -07:00
2026-04-01 13:16:42 -07:00
2025-07-15 00:25:29 -07:00