Skip to content

libwebsockets: cherry-pick: Fix -Werror=enum-int-mismatch in lws_tls_server_abort_connection() - #760

Merged
aiamadeus merged 1 commit into
coolsnowwolf:masterfrom
gjp1120:master
Jan 18, 2024
Merged

libwebsockets: cherry-pick: Fix -Werror=enum-int-mismatch in lws_tls_server_abort_connection()#760
aiamadeus merged 1 commit into
coolsnowwolf:masterfrom
gjp1120:master

Conversation

@gjp1120

@gjp1120 gjp1120 commented Jan 18, 2024

Copy link
Copy Markdown
Contributor

with gcc 13 libwebsockets fails with -Werror=enum-int-mismatch with both SSL variants. These 2 patches work out that issue. Problem is mentioned as a issue in openwrt/packages#20949 and instead of overriding issue with appropriate CFLAGS, this approach was suggested for me as it's been made as a PR (for openssl) at warmcat/libwebsockets#2824

Second patch for mbedtls, was made by me using same approach as was used of openssl.

Eventually these propably will be merged into libwebsockets mainstream.

…connection()

with gcc 13 libwebsockets fails with -Werror=enum-int-mismatch with both
SSL variants. These 2 patches work out that issue. Problem is mentioned
as a issue in openwrt/packages#20949 and instead of overriding issue
with appropriate CFLAGS, this approach was suggested for me as it's
been made as a PR (for openssl) at warmcat/libwebsockets#2824

Second patch for mbedtls, was made by me using same approach
as was used of openssl.

Eventually these propably will be merged into libwebsockets mainstream.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
@aiamadeus
aiamadeus merged commit d930ab3 into coolsnowwolf:master Jan 18, 2024
github-actions Bot added a commit to swirly0p/lean-packages that referenced this pull request Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants