From 325ae3e879fee2a847b61a94b799aae5ce29fdfc Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Thu, 1 Nov 2007 21:17:05 +0000 Subject: Checkpoint svn path=/scripts/Makefile; revision=1227 --- scripts/rpki/x509.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts/rpki/x509.py') diff --git a/scripts/rpki/x509.py b/scripts/rpki/x509.py index aed8ae5e..430c0165 100644 --- a/scripts/rpki/x509.py +++ b/scripts/rpki/x509.py @@ -449,10 +449,10 @@ class PKCS10(DER_object): @classmethod def create_ca(cls, keypair, sia = None): """Create a new request for a given keypair, including given SIA value.""" - exts = [ ("basicConstraints", True, (1, None)), - ("keyUsage", True, (0, 0, 0, 0, 0, 1, 1)) ] + exts = [["basicConstraints", True, (1, None)], + ["keyUsage", True, (0, 0, 0, 0, 0, 1, 1)]] if sia is not None: - exts.append(("subjectInfoAccess", False, sia)) + exts.append(["subjectInfoAccess", False, sia]) for x in exts: x[0] = POW.pkix.obj2oid(x[0]) return cls.create(keypair, exts) -- cgit v1.2.3