mbedtls/programs
Alfred Klomp 9afec5f8ec ssl_mail_client.c: silence warning, check base64_encode() status
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.
2014-10-23 15:36:17 +02:00
..
aes Proper initialization and checks for rare cases 2014-07-09 14:58:11 +02:00
hash Cleaned up location of init and free for some programs to prevent memory 2014-07-08 18:28:30 +02:00
pkey Proper initialization and checks for rare cases 2014-07-09 14:58:11 +02:00
random Fixed const correctness issues in programs and tests 2013-06-06 12:58:12 +02:00
ssl ssl_mail_client.c: silence warning, check base64_encode() status 2014-10-23 15:36:17 +02:00
test ssl_test.c: remove dead store, assign at declaration 2014-10-23 15:35:39 +02:00
util Allow enabling of dummy error_strerror() to support some use-cases 2013-02-02 12:43:08 +01:00
x509 Removed making commandline arguments case insensitive 2014-07-07 15:54:04 +02:00
.gitignore Added proper gitignores for Linux CMake use 2012-11-18 22:56:39 +01:00
CMakeLists.txt - Added missing subdirectory line for util 2012-09-25 08:19:18 +00:00
Makefile - Changed default compiler flags to include -O2 2012-10-23 12:12:53 +00:00
wince_main.c - Lots of minimal changes to better support WINCE as a build target 2011-11-18 14:26:47 +00:00