aboutsummaryrefslogtreecommitdiff
path: root/scripts/pkcs10.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2007-09-17 22:00:08 +0000
committerRob Austein <sra@hactrn.net>2007-09-17 22:00:08 +0000
commitf8dbec35dc669ec58d5018ad5b5a73b2cc395551 (patch)
tree11dcfe5d09321fbf214032cc42c02d5691578131 /scripts/pkcs10.py
parent915182363d6ecef54eeb9d74f9b4ba3e41f4897b (diff)
Convert integer XML attributes automatically. Recognize PEM objects
automatically. Debug, clean, hack.... svn path=/scripts/irbe-cli.py; revision=983
Diffstat (limited to 'scripts/pkcs10.py')
-rw-r--r--scripts/pkcs10.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/pkcs10.py b/scripts/pkcs10.py
index e8f45963..ca5dfee9 100644
--- a/scripts/pkcs10.py
+++ b/scripts/pkcs10.py
@@ -9,7 +9,7 @@ convert = rpki.x509.PEM_converter("CERTIFICATE REQUEST")
for name in glob.glob("resource-cert-samples/*.req"):
f = open(name, "r")
- der = convert.toDER(f.read())
+ der = convert.to_DER(f.read())
f.close()
pkcs10 = POW.pkix.CertificationRequest()