Skip to content

Fix curl compilation with mbedTLS 2.7.0 and above (compiled with MBED… - #2453

Closed
wyattoday wants to merge 2 commits into
curl:masterfrom
wyattoday:master
Closed

wyattoday wants to merge 2 commits into
curl:masterfrom
wyattoday:master

Conversation

@wyattoday

Copy link
Copy Markdown
Contributor

…TLS_DEPRECATED_REMOVED), and add error code handling for failed sha256 computation.

Fixes issue #2442

…TLS_DEPRECATED_REMOVED), and add error code handling for failed sha256 computation.
@bagder bagder added the TLS label Apr 5, 2018
@bagder

bagder commented Apr 5, 2018

Copy link
Copy Markdown
Member

Remember make checksrc to verify the code style somewhat:

./vtls/mbedtls.c:1036:5: warning: if with space (SPACEBEFOREPAREN)
   if (mbedtls_sha256_ret(input, inputlen, sha256sum, 0) != 0)
     ^
checksrc: 0 errors and 1 warnings
checksrc: 0 errors and 5 warnings suppressed

@wyattoday

Copy link
Copy Markdown
Contributor Author

OK, just fixed the code style, ran the command again and came up all clean.

@bagder

bagder commented Apr 6, 2018

Copy link
Copy Markdown
Member

Thanks!

@bagder bagder closed this in 336b6a3 Apr 6, 2018
@lock lock Bot locked as resolved and limited conversation to collaborators Jul 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Development

Successfully merging this pull request may close these issues.

2 participants