Wireshark-commits: [Wireshark-commits] master 6d160da: btmesh: fix compilation with older gcrypt ve

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 08 May 2019 13:51:44 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=6d160dad2db4199bd28e33d6f291f391e9704cfe
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

6d160da by Dario Lombardo (lomato@xxxxxxxxx):

    btmesh: fix compilation with older gcrypt versions.
    
    Fix compilation on Centos:
    epan/dissectors/packet-btmesh.c: In function 'uat_btmesh_record_update_cb':
    epan/dissectors/packet-btmesh.c:2057:9: error: implicit declaration of function 'k4' [-Werror=implicit-function-declaration]
             if (k4(rec)) {
             ^
    epan/dissectors/packet-btmesh.c: In function 'uat_btmesh_label_uuid_record_update_cb':
    epan/dissectors/packet-btmesh.c:2198:9: error: implicit declaration of function 'label_uuid_hash' [-Werror=implicit-function-declaration]
             if (label_uuid_hash(rec)) {
             ^
    cc1: some warnings being treated as errors
    [224/2387] Building C object epan/dissectors/CMakeFiles/dissectors.dir/packet-btmesh-pbadv.c.o
    ninja: build stopped: subcommand failed.
    
    Change-Id: I0ffbce46285c7883f3ef604d06fad3a94b2197cd
    Reviewed-on: https://code.wireshark.org/review/33108
    Petri-Dish: Dario Lombardo <lomato@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  85773a2   OER: Dissect Boolean and IA5String types.
     add  6d160da   btmesh: fix compilation with older gcrypt versions.


Summary of changes:
 epan/dissectors/packet-btmesh.c | 4 ++++
 1 file changed, 4 insertions(+)