mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
ldap: Ignore ec/rrc for sealed wrap tokens
It shouldn't matter for the encrypted payload that we'll just consume and ignore.
This commit is contained in:
parent
a70ccc51ab
commit
ca25516e03
1 changed files with 4 additions and 1 deletions
|
@ -228,7 +228,10 @@ type KrbWrapToken = unit {
|
||||||
} else if ( self.rrc == 0 ) {
|
} else if ( self.rrc == 0 ) {
|
||||||
self.trailer_ec = self.ec;
|
self.trailer_ec = self.ec;
|
||||||
} else {
|
} else {
|
||||||
throw "Unhandled rc %s and ec %s" % (self.ec, self.rrc);
|
if ( ! self.ctx_flags.sealed )
|
||||||
|
# If it's sealed, we'll consume until &eod anyhow
|
||||||
|
# and ec/rrc shouldn't apply, otherwise, bail.
|
||||||
|
throw "Unhandled rc %s and ec %s" % (self.ec, self.rrc);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue