Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compilation problems on current FreeBSD using clang 14 #5691

Closed

Conversation

girgen
Copy link

@girgen girgen commented Apr 4, 2022

error: parameter 'outpuJt_size' set but not used [-Werror,-Wunused-but-set-parameter]
size_t output_size,

Signed-off-by: girgen@FreeBSD.org

error: parameter 'outpuJt_size' set but not used [-Werror,-Wunused-but-set-parameter]
    size_t output_size,

Signed-off-by:	girgen@FreeBSD.org
@girgen
Copy link
Author

girgen commented Apr 4, 2022

The fix was originally sent to me. See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263037

freebsd-git pushed a commit to freebsd/freebsd-ports that referenced this pull request Apr 4, 2022
PR:		263037
Submitted by:	Hiroo Ono

Upstream patch submitted to Mbed-TLS/mbedtls#5691
@bensze01
Copy link
Contributor

bensze01 commented Apr 4, 2022

This issue (#4935) was already fixed upstream in 1716f32 (#4938, released as Mbed TLS 3.1) by removing the output_size parameter.
It was also backported to 2.x, and released as 2.28 (#4939).

@bensze01 bensze01 closed this Apr 4, 2022
@bensze01 bensze01 self-assigned this Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants