Skip to content

Warnings compiling libsodium #1247

Answered by jedisct1
michelp asked this question in Q&A
Discussion options

You must be logged in to vote

The warning can be safely ignored.

The function prototype indicates that the expected string length is crypto_pwhash_STRBYTES, but this test explicitly check that we don't crash and just return an error if the actual string is too short.

In 089f850, the function prototype was changed to remove the length. That gets rid of the warning, doesn't change anything else. I'm not sure that it should be backported to stable since it changes a function prototype.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@michelp
Comment options

Answer selected by michelp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants