packet-kerberos.c ... fix the build u
authorStefan Metzmacher <metze@samba.org>
Fri, 19 Feb 2016 13:36:02 +0000 (14:36 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 17 Oct 2018 14:09:07 +0000 (16:09 +0200)
Change-Id: Ifcfc8817022e3634068d27e71cb66a0b96104cfb

epan/dissectors/asn1/kerberos/kerberos.cnf
epan/dissectors/asn1/kerberos/packet-kerberos-template.c

index 6b25e5b1ceda25f785c3aa31646cb644f88542b4..ddba0a16d7fe5610f25549a8f872667afd26fa4f 100644 (file)
@@ -185,14 +185,13 @@ guint32 msgtype;
                sub_tree=proto_item_add_subtree(actx->created_item, ett_kerberos_PA_DATA);
        }
 
-printf("%d: private_data->padata_type[%d]\n", __LINE__, (int)private_data->padata_type);
+fprintf(stdout, "%d: private_data->padata_type[%d]\n", __LINE__, (int)private_data->padata_type);
        switch(private_data->padata_type){
        case KERBEROS_PA_TGS_REQ:
                offset=dissect_ber_octet_string_wcb(FALSE, actx, sub_tree, tvb, offset,hf_index, dissect_kerberos_Applications);
                break;
-       //case KERBEROS_PA_PK_AS_REQ_OLD:
        case KERBEROS_PA_PK_AS_REP_OLD:
-printf("%d: private_data->padata_type[%d]\n", __LINE__, (int)private_data->padata_type);
+fprintf(stdout, "%d: private_data->padata_type[%d]\n", __LINE__, (int)private_data->padata_type);
                if (private_data->kdc_response) {
                        offset=dissect_ber_octet_string_wcb(FALSE, actx, sub_tree, tvb, offset,hf_index, dissect_pkinit_PA_PK_AS_REP_Win2k);
                } else {
@@ -255,7 +254,7 @@ printf("%d: private_data->padata_type[%d]\n", __LINE__, (int)private_data->padat
                offset=dissect_ber_octet_string_wcb(FALSE, actx, sub_tree, tvb, offset,hf_index, NULL);
                break;
        }
-printf("%d: private_data->padata_type[%d]\n", __LINE__, (int)private_data->padata_type);
+fprintf(stdout, "%d: private_data->padata_type[%d]\n", __LINE__, (int)private_data->padata_type);
 
 #.FN_BODY HostAddress/address
        gint8 appclass;
index 4eb8bf76c642e2ded94fb5f229f63dbae00d249f..ed831850c2a798206d5a6a0776fc02dc62445055 100644 (file)
@@ -55,6 +55,7 @@
 #include <epan/asn1.h>
 #include <epan/expert.h>
 #include <epan/prefs.h>
+#include <epan/proto_data.h>
 #include <wsutil/wsgcrypt.h>
 #include <wsutil/file_util.h>
 #include <wsutil/str_util.h>