diff options
author | Rob Austein <sra@hactrn.net> | 2008-04-18 23:39:55 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2008-04-18 23:39:55 +0000 |
commit | a0be939602e58f77d99d09acfc12743b7ff5146b (patch) | |
tree | fa0433fa95dc0f4a460ab4e1eb887d7b13737ffa /rpkid/irbe-setup.py | |
parent | e11002b6beffdbd9b847038693d666f01cc1bc9e (diff) |
Clean up unnecessarily complicated trust anchor code
svn path=/rpkid/cronjob.py; revision=1677
Diffstat (limited to 'rpkid/irbe-setup.py')
-rw-r--r-- | rpkid/irbe-setup.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpkid/irbe-setup.py b/rpkid/irbe-setup.py index d34debbe..d3170bfa 100644 --- a/rpkid/irbe-setup.py +++ b/rpkid/irbe-setup.py @@ -37,7 +37,7 @@ cms_key = rpki.x509.RSA( Auto_file = cfg.get( "cms-key")) cms_ta = rpki.x509.X509( Auto_file = cfg.get( "cms-ta")) https_certs = rpki.x509.X509_chain(Auto_files = cfg.multiget("https-cert")) https_key = rpki.x509.RSA( Auto_file = cfg.get( "https-key")) -https_tas = rpki.x509.X509_chain(Auto_files = cfg.multiget("https-ta")) +https_ta = rpki.x509.X509( Auto_file = cfg.get( "https-ta")) https_url = cfg.get( "https-url") def call_rpkid(pdu): @@ -55,7 +55,7 @@ def call_rpkid(pdu): raise elt = rpki.cms.xml_verify(der = rpki.https.client(client_key = https_key, client_certs = https_certs, - server_ta = https_tas, + server_ta = https_ta, url = https_url, msg = rpki.cms.xml_sign(elt = elt, key = cms_key, |