Wireshark-commits: [Wireshark-commits] master-3.0 0d210d0: epan: Work around a p11-kit bug on Windo

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 01 Aug 2019 16:53:23 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=0d210d01aad7c32a293e60b1c172902f9ac52592
Submitter: "Gerald Combs <gerald@xxxxxxxxxxxxx>"
Changed: branch: master-3.0
Repository: wireshark

Commits:

0d210d0 by Gerald Combs (gerald@xxxxxxxxxxxxx):

    epan: Work around a p11-kit bug on Windows.
    
    The version of p11-kit that we ship with Windows will crash if we feed
    gnutls_pkcs11_add_provider an invalid path. Work around this by checking
    for the file's existence ourselves.
    
    Bug: 15957
    Change-Id: I81484b8bd8f837a49bc17a6c9cb0b10fd33c3f6e
    Reviewed-on: https://code.wireshark.org/review/34144
    Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    (cherry picked from commit a7e02fe3b9c795ba881d34b102ae87bf4de06614)
    Reviewed-on: https://code.wireshark.org/review/34158
    

Actions performed:

    from  7795e92   Qt: Check for invalid filters after coloring rules import
     add  0d210d0   epan: Work around a p11-kit bug on Windows.


Summary of changes:
 epan/secrets.c | 10 ++++++++++
 1 file changed, 10 insertions(+)