aboutsummaryrefslogtreecommitdiffstats
path: root/asn1
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2012-11-08 08:42:45 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2012-11-08 08:42:45 +0000
commitf4ade83844b7cd29a8f0d3cc0208b2b2c7005209 (patch)
treefec7053a43d863a2ef337edadfd54a81afd85396 /asn1
parent77db504364e9e2a467e23237a99f997ec8cdbd7d (diff)
Only append oid name to parent item once when having RDN as a attribute.
svn path=/trunk/; revision=45965
Diffstat (limited to 'asn1')
-rw-r--r--asn1/x509if/x509if.cnf4
1 files changed, 1 insertions, 3 deletions
diff --git a/asn1/x509if/x509if.cnf b/asn1/x509if/x509if.cnf
index eeb010e33b..6122c17f58 100644
--- a/asn1/x509if/x509if.cnf
+++ b/asn1/x509if/x509if.cnf
@@ -203,9 +203,7 @@ DistinguishedName B "2.16.840.1.101.2.2.1.140" "id-at-garrison"
/* append it to the tree */
proto_item_append_text(tree, " (%%s=", name);
- }
-
- if(doing_attr) {
+ } else if(doing_attr) {
/* append it to the parent item */
proto_item_append_text(tree, " (%%s)", name);
}