From 258948849c072360876d02c1300853c293c31ab3 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Sat, 6 Oct 2007 18:13:43 +0000 Subject: Consolidate and debug PKCS #10 code. svn path=/pow/POW-0.7/lib/pkix.py; revision=1104 --- scripts/rpkid.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/rpkid.py') diff --git a/scripts/rpkid.py b/scripts/rpkid.py index 95632ba6..efcb5d2d 100755 --- a/scripts/rpkid.py +++ b/scripts/rpkid.py @@ -57,10 +57,10 @@ gctx.cur = gctx.db.cursor() gctx.cms_ta_irdb = rpki.x509.X509(Auto_file = gctx.cfg.get(gctx.cfg_section, "cms-ta-irdb")) gctx.cms_ta_irbe = rpki.x509.X509(Auto_file = gctx.cfg.get(gctx.cfg_section, "cms-ta-irbe")) -gctx.cms_key = rpki.x509.RSA_Keypair(Auto_file = gctx.cfg.get(gctx.cfg_section, "cms-key")) +gctx.cms_key = rpki.x509.RSA(Auto_file = gctx.cfg.get(gctx.cfg_section, "cms-key")) gctx.cms_certs = rpki.x509.X509_chain(Auto_files = gctx.cfg.multiget(gctx.cfg_section, "cms-cert")) -gctx.https_key = rpki.x509.RSA_Keypair(Auto_file = gctx.cfg.get(gctx.cfg_section, "https-key")) +gctx.https_key = rpki.x509.RSA(Auto_file = gctx.cfg.get(gctx.cfg_section, "https-key")) gctx.https_certs = rpki.x509.X509_chain(Auto_files = gctx.cfg.multiget(gctx.cfg_section, "https-cert")) gctx.https_tas = rpki.x509.X509_chain(Auto_files = gctx.cfg.multiget(gctx.cfg_section, "https-ta")) -- cgit v1.2.3