aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/x509if/x509if.cnf
diff options
context:
space:
mode:
Diffstat (limited to 'asn1/x509if/x509if.cnf')
-rw-r--r--asn1/x509if/x509if.cnf2
1 files changed, 1 insertions, 1 deletions
diff --git a/asn1/x509if/x509if.cnf b/asn1/x509if/x509if.cnf
index 0c4137f7a7..92fa3fa211 100644
--- a/asn1/x509if/x509if.cnf
+++ b/asn1/x509if/x509if.cnf
@@ -242,7 +242,7 @@ DistinguishedName B "2.16.840.1.101.2.2.1.188" "id-at-primaryMember"
if(out_tvb) {
/* it was a string - format it */
- value = tvb_format_text(out_tvb, 0, tvb_length(out_tvb));
+ value = tvb_format_text(out_tvb, 0, tvb_reported_length(out_tvb));
if(last_rdn) {
g_strlcat(last_rdn, value, MAX_RDN_STR_LEN);