aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-pkcs12.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-pkcs12.c')
-rw-r--r--epan/dissectors/packet-pkcs12.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-pkcs12.c b/epan/dissectors/packet-pkcs12.c
index 3b32ea50a9..94ae4bdd90 100644
--- a/epan/dissectors/packet-pkcs12.c
+++ b/epan/dissectors/packet-pkcs12.c
@@ -1144,7 +1144,7 @@ static int strip_octet_string(tvbuff_t *tvb)
/* before proceeding */
offset = get_ber_identifier(tvb, 0, &class, &pc, &tag);
- offset = get_ber_length(NULL, tvb, offset, &len, &ind);
+ offset = get_ber_length(tvb, offset, &len, &ind);
if((class == BER_CLASS_UNI) && (tag == BER_UNI_TAG_OCTETSTRING))
return offset;