Wireshark-commits: [Wireshark-commits] master 5a1b32b: packet-spnego: fix krb5_cfx_wrap without enc
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 10 Mar 2015 13:01:46 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=5a1b32b7695e8a5f885bce05f95b512815263544
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

5a1b32b by Stefan Metzmacher (metze@xxxxxxxxx):

    packet-spnego: fix krb5_cfx_wrap without encryption
    
    We need to use rrc, as the checksum is likely to be
    rotated before the plaintext payload.
    
    For now we only handle the two common cases
    rrc == 0 and rrc == ec...
    
    Ping-Bug: 9398
    Change-Id: I548f2f0650716294b6aeb361021be6e44ae8f1b3
    Signed-off-by: Stefan Metzmacher <metze@xxxxxxxxx>
    Reviewed-on: https://code.wireshark.org/review/7271
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  ea0e489   packet-ldap: use the correct tvb to report the SASL wrapped payload
    adds  5a1b32b   packet-spnego: fix krb5_cfx_wrap without encryption


Summary of changes:
 asn1/spnego/packet-spnego-template.c |   27 ++++++++++++++++++++++-----
 epan/dissectors/packet-spnego.c      |   31 ++++++++++++++++++++++++-------
 2 files changed, 46 insertions(+), 12 deletions(-)