mirror of
https://github.com/adulau/ssldump.git
synced 2024-11-21 17:07:04 +00:00
Check ssl_decode_enum() return code correctly
This commit is contained in:
parent
4997301a9d
commit
59b88f4e2b
1 changed files with 3 additions and 2 deletions
|
@ -238,8 +238,9 @@ static int decode_HandshakeType_ClientHello(ssl,dir,seg,data)
|
|||
}
|
||||
|
||||
for(;cslen;cslen-=2){
|
||||
ssl_decode_enum(ssl,0,2,cipher_suite_decoder,
|
||||
0,data,&cs);
|
||||
if(ssl_decode_enum(ssl,0,2,cipher_suite_decoder,
|
||||
0,data,&cs))
|
||||
return(1);
|
||||
ssl_print_cipher_suite(ssl,(vj<<8)|vn,P_HL,cs);
|
||||
LF;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue