aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-isakmp.c
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2009-07-29 18:26:55 +0000
committerJaap Keuter <jaap.keuter@xs4all.nl>2009-07-29 18:26:55 +0000
commitd779b4f96f9df4fdbce11765af619d5f19cc716c (patch)
tree1f0d4657108fb79ffc0e69be28cc16f0e8582b86 /epan/dissectors/packet-isakmp.c
parent0660822311a0f46207ac35c79f9bbd130082c631 (diff)
From Neil Piercy:
The Cert Authority hashes in the IKEv2 Cert Request are not dissected properly: the display offset is not correctly moved on, so the same info is displayed for all Cert Authority fields. svn path=/trunk/; revision=29234
Diffstat (limited to 'epan/dissectors/packet-isakmp.c')
-rw-r--r--epan/dissectors/packet-isakmp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-isakmp.c b/epan/dissectors/packet-isakmp.c
index 92800780de..d16e38250b 100644
--- a/epan/dissectors/packet-isakmp.c
+++ b/epan/dissectors/packet-isakmp.c
@@ -1952,6 +1952,7 @@ dissect_certreq_v2(tvbuff_t *tvb, int offset, int length, proto_tree *tree,
/* this is a list of 20 byte SHA-1 hashes */
while (length > 0) {
proto_tree_add_item(tree, hf_isakmp_v2_certificate_authority, tvb, offset, 20, FALSE);
+ offset+=20;
length-=20;
}
}