mbedtls/programs
Alfred Klomp 7c03424d1c 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-08-14 11:34:35 +02:00
..
aes Adapt programs / test suites 2014-07-09 10:19:24 +02:00
hash Adapt programs / test suites 2014-07-09 10:19:24 +02:00
pkey gen_key should open file as binary for writing DER keys 2014-07-10 15:27:09 +02:00
random Adapt programs / test suites 2014-07-09 10:19:24 +02:00
ssl ssl_mail_client.c: silence warning, check base64_encode() status 2014-08-14 11:34:35 +02:00
test ssl_test.c: remove dead store, assign at declaration 2014-08-14 11:34:34 +02:00
util pem2der.c: fix double-free bug 2014-08-14 11:34:34 +02:00
x509 Adapt programs / test suites 2014-07-09 10:19:24 +02:00
.gitignore
CMakeLists.txt
Makefile
wince_main.c