mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 07:08:19 +00:00
Spicy SSL: reformat with new version of spicy format
This commit is contained in:
parent
743e2a3663
commit
86c542fd47
1 changed files with 3 additions and 3 deletions
|
@ -701,7 +701,7 @@ type SSL2Record = unit(lengthone: uint8, inout msg: Message, inout sh: Share) {
|
|||
var length: uint16;
|
||||
|
||||
on lengthtwo {
|
||||
self.length = (cast<uint16>(lengthone) & 0x7F)<<8 | self.lengthtwo;
|
||||
self.length = (cast<uint16>(lengthone) & 0x7F) << 8 | self.lengthtwo;
|
||||
}
|
||||
message_type: uint8;
|
||||
|
||||
|
@ -712,7 +712,7 @@ type SSL2Record = unit(lengthone: uint8, inout msg: Message, inout sh: Share) {
|
|||
SSL2ProtocolMessages::ssl_server_verify -> : skip bytes &size=self.length;
|
||||
SSL2ProtocolMessages::ssl_request_certificate -> : skip bytes &size=self.length;
|
||||
SSL2ProtocolMessages::ssl_client_certificate -> : skip bytes &size=self.length;
|
||||
} if(get_encrypted(sh) == False) ;
|
||||
} if(get_encrypted(sh) == False);
|
||||
: skip bytes &size=self.length if(get_encrypted(sh) == True);
|
||||
|
||||
on %done {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue