Wireshark-commits: [Wireshark-commits] master-3.2 4d00e63: WireGuard: fix MAC1 computation for non-
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 27 Nov 2019 16:26:20 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=4d00e63a32630e9d78024012ee6014c220a24047
Submitter: "Peter Wu <peter@xxxxxxxxxxxxx>"
Changed: branch: master-3.2
Repository: wireshark

Commits:

4d00e63 by Peter Wu (peter@xxxxxxxxxxxxx):

    WireGuard: fix MAC1 computation for non-zero reserved case
    
    Peer identification failed because the MAC1 value did not check out.
    Fix the computation in case the reserved bytes are overwritten after the
    original protocol has run.
    
    Change-Id: I4be65806bed96d7236103ebb369c1affcadebd5f
    Reviewed-on: https://code.wireshark.org/review/35219
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
    (cherry picked from commit 12d72be15b90cc76f7709fd944682224257ec236)
    Reviewed-on: https://code.wireshark.org/review/35244
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    

Actions performed:

    from  c0b3b1c   WireGuard: support Decode As and non-zero reserved bytes
     add  4d00e63   WireGuard: fix MAC1 computation for non-zero reserved case


Summary of changes:
 epan/dissectors/packet-wireguard.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)