mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 20:38:15 +00:00
Fix compiler warning from gcc -Os
This commit is contained in:
parent
70f1768b9d
commit
0a20171d52
1 changed files with 2 additions and 0 deletions
|
@ -180,6 +180,8 @@ static int ssl_write_ticket( ssl_context *ssl, size_t *tlen )
|
|||
unsigned char iv[16];
|
||||
size_t clear_len, enc_len, pad_len, i;
|
||||
|
||||
*tlen = 0;
|
||||
|
||||
if( ssl->ticket_keys == NULL )
|
||||
return( POLARSSL_ERR_SSL_BAD_INPUT_DATA );
|
||||
|
||||
|
|
Loading…
Reference in a new issue