mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-09 03:05:33 +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.
|
||||
* x509_crt_parse() did not increase total_failed on PEM error
|
||||
* Fix compiler warnings on iOS (found by Sander Niemeijer).
|
||||
* Don't print uninitialised buffer in ssl_mail_client (found by Marc Abel).
|
||||
|
||||
Changes
|
||||
* 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( &ssl, 0, sizeof( ssl_context ) );
|
||||
|
||||
memset( buf, 0, sizeof( buf ) );
|
||||
|
||||
if( argc == 0 )
|
||||
{
|
||||
usage:
|
||||
|
|
Loading…
Reference in a new issue