mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-24 20:41:05 +00:00
Don't print uninitialised buffer in ssl_mail_client
This commit is contained in:
parent
0b0b522932
commit
982eda385f
|
@ -14,6 +14,7 @@ Bugfix
|
||||||
with non-blocking I/O.
|
with non-blocking I/O.
|
||||||
* x509_crt_parse() did not increase total_failed on PEM error
|
* x509_crt_parse() did not increase total_failed on PEM error
|
||||||
* Fix compiler warnings on iOS (found by Sander Niemeijer).
|
* Fix compiler warnings on iOS (found by Sander Niemeijer).
|
||||||
|
* Don't print uninitialised buffer in ssl_mail_client (found by Marc Abel).
|
||||||
|
|
||||||
Changes
|
Changes
|
||||||
* X.509 certificates with more than one AttributeTypeAndValue per
|
* X.509 certificates with more than one AttributeTypeAndValue per
|
||||||
|
|
|
@ -375,6 +375,8 @@ int main( int argc, char *argv[] )
|
||||||
memset( &rsa, 0, sizeof( rsa_context ) );
|
memset( &rsa, 0, sizeof( rsa_context ) );
|
||||||
memset( &ssl, 0, sizeof( ssl_context ) );
|
memset( &ssl, 0, sizeof( ssl_context ) );
|
||||||
|
|
||||||
|
memset( buf, 0, sizeof( buf ) );
|
||||||
|
|
||||||
if( argc == 0 )
|
if( argc == 0 )
|
||||||
{
|
{
|
||||||
usage:
|
usage:
|
||||||
|
|
Loading…
Reference in a new issue