Wireshark-dev: Re: [Wireshark-dev] Build failure (kerberos)
From: Dario Lombardo <lomato@xxxxxxxxx>
Date: Mon, 23 Mar 2020 09:16:10 +0100


On Sun, Mar 22, 2020 at 6:15 PM Dario Lombardo <lomato@xxxxxxxxx> wrote:
Ok, thanks.

On Sun, Mar 22, 2020 at 9:48 AM Martin Mathieson <martin.r.mathieson@xxxxxxxxxxxxxx> wrote:

./asn1/kerberos/packet-kerberos-template.c: In function ‘dissect_krb5_PAC_CREDENTIAL_INFO’:
./asn1/kerberos/packet-kerberos-template.c:2187:2: error: implicit declaration of function ‘decrypt_krb5_data’ [-Werror=implicit-function-declaration]
./asn1/kerberos/packet-kerberos-template.c:2187:11: error: assignment makes pointer from integer without a cast [-Werror]
./asn1/kerberos/packet-kerberos-template.c: At top level:
./asn1/kerberos/kerberos.cnf:360:1: error: ‘dissect_kerberos_PA_ENC_TS_ENC’ defined but not used [-Werror=unused-function]


I don't know which part of the asn1/cnf/template generates this function. Can anyone guide me through the asn1 dissector generation process? 

I've found how to remove the definition of the function conditionally. However the definition of

static const ber_sequence_t PA_ENC_TS_ENC_sequence[]

still remains unused, giving an error. Which part of the cnf generates this definition?
--
Naima is online.