aboutsummaryrefslogtreecommitdiff
path: root/scripts/pkcs10.py
diff options
context:
space:
mode:
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()