aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2010-11-25 22:00:52 +0000
committerRob Austein <sra@hactrn.net>2010-11-25 22:00:52 +0000
commit9455d380077e50c75f5caa4ae8c6eb622617c862 (patch)
treec1032a48b98ce4c368980f049726ad67561fe715 /scripts
parent72e92c60e398965eff3c93220bc878e982bedb11 (diff)
Use conventional string format for certificate names
svn path=/scripts/x509-dot.py; revision=3564
Diffstat (limited to 'scripts')
-rw-r--r--scripts/x509-dot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/x509-dot.py b/scripts/x509-dot.py
index 41d00f3e..5eb58ff9 100644
--- a/scripts/x509-dot.py
+++ b/scripts/x509-dot.py
@@ -86,7 +86,7 @@ class x509(object):
if self.cn_only and len(name) == 1 and name[0][0] == "CN":
return name[0][1]
else:
- return name
+ return "".join("/%s=%s" % n for n in name)
def set_node(self, node):