From d0ac93756794ed29650dc91f7f8304b11504c61b Mon Sep 17 00:00:00 2001 From: Pascal Quantin Date: Thu, 19 Jun 2014 20:31:08 +0200 Subject: Revert "Update ASN.1 source files with the API changes done in g021e7af" This reverts commit e308e7c4de81c2ff7159e444b865ac59de4faa2b. Change-Id: I079616d63f643f79f1bc03ef5fdf724f36df4071 Reviewed-on: https://code.wireshark.org/review/2435 Reviewed-by: Pascal Quantin --- asn1/x509sat/x509sat.cnf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'asn1/x509sat') diff --git a/asn1/x509sat/x509sat.cnf b/asn1/x509sat/x509sat.cnf index 839205088a..6ea1bf9148 100644 --- a/asn1/x509sat/x509sat.cnf +++ b/asn1/x509sat/x509sat.cnf @@ -385,7 +385,7 @@ XDayOf/fifth fifth_dayof offset=dissect_ber_identifier(actx->pinfo, tree, tvb, offset, &ber_class, &pc, &tag); offset=dissect_ber_length(actx->pinfo, tree, tvb, offset, &len, NULL); } else { - gint32 remaining=tvb_captured_length_remaining(tvb, offset); + gint32 remaining=tvb_length_remaining(tvb, offset); len=remaining>0 ? remaining : 0; } -- cgit v1.2.3