Fix gcc 4.6 warnings. Check TLS server hello extension length.
This commit is contained in:
@@ -191,7 +191,7 @@ static int ssl3_generate_key_block(SSL *s, unsigned char *km, int num)
|
||||
|
||||
int ssl3_change_cipher_state(SSL *s, int which)
|
||||
{
|
||||
unsigned char *p,*key_block,*mac_secret;
|
||||
unsigned char *p,*mac_secret;
|
||||
unsigned char exp_key[EVP_MAX_KEY_LENGTH];
|
||||
unsigned char exp_iv[EVP_MAX_IV_LENGTH];
|
||||
unsigned char *ms,*key,*iv,*er1,*er2;
|
||||
@@ -214,7 +214,6 @@ int ssl3_change_cipher_state(SSL *s, int which)
|
||||
else
|
||||
comp=s->s3->tmp.new_compression->method;
|
||||
#endif
|
||||
key_block=s->s3->tmp.key_block;
|
||||
|
||||
if (which & SSL3_CC_READ)
|
||||
{
|
||||
|
Reference in New Issue
Block a user