summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2013-06-03 01:41:04 +0000
committerhenning <henning@openbsd.org>2013-06-03 01:41:04 +0000
commit32a028bff729103294a84ce3b45b7537e40c5190 (patch)
treeed43b793ee504da3a1357fe5f23ed4f74d7f8241 /lib
parentforce the MAC output to be 64-bit aligned so umac won't see unaligned (diff)
downloadwireguard-openbsd-32a028bff729103294a84ce3b45b7537e40c5190.tar.xz
wireguard-openbsd-32a028bff729103294a84ce3b45b7537e40c5190.zip
fix anchor quick with nested anchors. we lost the quick flag as soon as
we stepped into a child anchor. simplify the logic, get rid of the match flag in the anchor stack, just use the match variable we already had (and used in a boolean style) to track the nest level we had a match at. when a child anchor had a match we also have a match in the current anchor, so update the match level accordingly, and thus correctly honour the quick flag. reported by, along with the right idea on how to fix this, by Sean Gallagher \sean at teletech.com.au/, who also helped testing the fix. ok ryan & benno
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions