Wireshark-commits: [Wireshark-commits] master fa2623d: smb2: factor out session lookup&create

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 22 Jan 2019 16:26:21 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=fa2623dd4a6b26c67b049c7c62b837fc657698ab
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

fa2623d by Aurelien Aptel (aaptel@xxxxxxxx):

    smb2: factor out session lookup&create
    
    * factor out duplicated code to lookup and create sessions
    * we now create (potentially dummy) session object all the time, no
      need for null checks.
    * stash session key in session object in preparation of SMB3.1.1
      decryption
    
    Change-Id: I5499c6363abc1356fd35f22b1b8bc363dd5ec347
    Reviewed-on: https://code.wireshark.org/review/31658
    Reviewed-by: ronnie sahlberg <ronniesahlberg@xxxxxxxxx>
    

Actions performed:

    from  d70bc0c   extcap: remove dependencies from ui.
     add  fa2623d   smb2: factor out session lookup&create


Summary of changes:
 epan/dissectors/packet-smb2.c | 110 ++++++++++++++++--------------------------
 epan/dissectors/packet-smb2.h |   2 +
 2 files changed, 44 insertions(+), 68 deletions(-)