mirror of
https://github.com/adulau/ssldump.git
synced 2024-11-22 01:17:04 +00:00
added handler for extended master secret extension
This commit is contained in:
parent
919684d5ae
commit
a066b61dfe
1 changed files with 6 additions and 1 deletions
|
@ -2479,10 +2479,15 @@ static int decode_extension_extended_master_secret(ssl,dir,seg,data)
|
|||
segment *seg;
|
||||
Data *data;
|
||||
{
|
||||
int l,r;
|
||||
int l,r,*ems;
|
||||
|
||||
ems=&ssl->decoder->extended_master_secret;
|
||||
|
||||
SSL_DECODE_UINT16(ssl,"extension length",0,data,&l);
|
||||
data->len-=l;
|
||||
data->data+=l;
|
||||
|
||||
*ems=dir==DIR_I2R?1:*ems==1;
|
||||
return(0);
|
||||
}
|
||||
static int decode_extension(ssl,dir,seg,data)
|
||||
|
|
Loading…
Reference in a new issue