Fix compiler warning from gcc -Os

This commit is contained in:
Manuel Pégourié-Gonnard 2013-08-23 16:25:16 +02:00 committed by Paul Bakker
parent 70f1768b9d
commit 0a20171d52

View file

@ -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 );