aboutsummaryrefslogtreecommitdiff
path: root/scripts/http-client.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2007-10-06 18:13:43 +0000
committerRob Austein <sra@hactrn.net>2007-10-06 18:13:43 +0000
commit258948849c072360876d02c1300853c293c31ab3 (patch)
tree054bf628aed985f05865b0a297b53b019f15324d /scripts/http-client.py
parente364ef51ed453b0d438ed5a5453179d552c298a1 (diff)
Consolidate and debug PKCS #10 code.
svn path=/pow/POW-0.7/lib/pkix.py; revision=1104
Diffstat (limited to 'scripts/http-client.py')
-rw-r--r--scripts/http-client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/http-client.py b/scripts/http-client.py
index 1df47dad..ec311ffe 100644
--- a/scripts/http-client.py
+++ b/scripts/http-client.py
@@ -7,7 +7,7 @@ msg = "This is a test. This is only a test. Had this been real you would now b
cfg = rpki.config.parser("http-demo.conf")
section = "client"
-print rpki.https.client(privateKey = rpki.x509.RSA_Keypair(Auto_file = cfg.get( section, "https-key")),
+print rpki.https.client(privateKey = rpki.x509.RSA(Auto_file = cfg.get( section, "https-key")),
certChain = rpki.x509.X509_chain(Auto_files = cfg.multiget(section, "https-cert")),
x509TrustList = rpki.x509.X509_chain(Auto_files = cfg.multiget(section, "https-ta")),
url = cfg.get(section, "https-url"),