forked from osmocom/wireshark
Fix compilation for when HAVE_LIBGCRYPT is not defined
svn path=/trunk/; revision=54162
This commit is contained in:
parent
7851e21345
commit
f9abd6f9e0
1 changed files with 4 additions and 1 deletions
|
@ -493,9 +493,10 @@ static void addChannelSequenceInfo(pdcp_sequence_report_in_frame *p,
|
||||||
if (security_tree != NULL) {
|
if (security_tree != NULL) {
|
||||||
guint32 hfn_multiplier;
|
guint32 hfn_multiplier;
|
||||||
guint32 count;
|
guint32 count;
|
||||||
|
#if HAVE_LIBGCRYPT
|
||||||
gchar *key = NULL;
|
gchar *key = NULL;
|
||||||
guint record_id;
|
guint record_id;
|
||||||
|
#endif
|
||||||
/* BEARER */
|
/* BEARER */
|
||||||
ti = proto_tree_add_uint(security_tree, hf_pdcp_lte_security_bearer,
|
ti = proto_tree_add_uint(security_tree, hf_pdcp_lte_security_bearer,
|
||||||
tvb, 0, 0, p_pdcp_lte_info->channelId-1);
|
tvb, 0, 0, p_pdcp_lte_info->channelId-1);
|
||||||
|
@ -531,6 +532,7 @@ static void addChannelSequenceInfo(pdcp_sequence_report_in_frame *p,
|
||||||
PROTO_ITEM_SET_GENERATED(ti);
|
PROTO_ITEM_SET_GENERATED(ti);
|
||||||
pdu_security->count = count;
|
pdu_security->count = count;
|
||||||
|
|
||||||
|
#if HAVE_LIBGCRYPT
|
||||||
/* KEY */
|
/* KEY */
|
||||||
for (record_id=0; record_id < num_ue_keys_uat; record_id++) {
|
for (record_id=0; record_id < num_ue_keys_uat; record_id++) {
|
||||||
if (uat_ue_keys_records[record_id].ueid == p_pdcp_lte_info->ueid) {
|
if (uat_ue_keys_records[record_id].ueid == p_pdcp_lte_info->ueid) {
|
||||||
|
@ -549,6 +551,7 @@ static void addChannelSequenceInfo(pdcp_sequence_report_in_frame *p,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
pdu_security->direction = p_pdcp_lte_info->direction;
|
pdu_security->direction = p_pdcp_lte_info->direction;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue