mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-27 14:14:19 +01:00
9afec5f8ec
Found with Clang's `scan-build` tool. ssl_mail_client.c does a dead store by assigning the return value of base64_encode() to `len` and not using the value. This causes scan-build to issue a warning. Instead of storing the return value into `len`, store it to `ret`, since base64_encode() returns a status code, not a length. Also check if the return value is nonzero and print an error; this silences scan-build. |
||
---|---|---|
.. | ||
test-ca | ||
CA-HOWTO.txt | ||
CMakeLists.txt | ||
ssl_client1.c | ||
ssl_client2.c | ||
ssl_fork_server.c | ||
ssl_mail_client.c | ||
ssl_server2.c | ||
ssl_server.c |