aboutsummaryrefslogtreecommitdiff
path: root/rpkid/irbe_cli.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2010-10-07 00:59:39 +0000
committerRob Austein <sra@hactrn.net>2010-10-07 00:59:39 +0000
commit94bad6e5ca0045bb46093a3002e7c03ea6e0bee4 (patch)
treeb54b80610b8565a232167290010172cac6b0df2b /rpkid/irbe_cli.py
parent8ada594d05c4e79fc2e3a13b50489bb75bd90cae (diff)
Merge rpkid.without_tls/ branch to rpkid/ trunk.
svn path=/rpkid/Makefile; revision=3465
Diffstat (limited to 'rpkid/irbe_cli.py')
-rw-r--r--rpkid/irbe_cli.py16
1 files changed, 4 insertions, 12 deletions
diff --git a/rpkid/irbe_cli.py b/rpkid/irbe_cli.py
index 9b680485..ccd9ea7f 100644
--- a/rpkid/irbe_cli.py
+++ b/rpkid/irbe_cli.py
@@ -3,7 +3,7 @@ Command line IR back-end control program for rpkid and pubd.
$Id$
-Copyright (C) 2009-2010 Internet Systems Consortium ("ISC")
+Copyright (C) 2009--2010 Internet Systems Consortium ("ISC")
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
@@ -33,7 +33,7 @@ PERFORMANCE OF THIS SOFTWARE.
"""
import getopt, sys, textwrap
-import rpki.left_right, rpki.https, rpki.x509, rpki.config, rpki.log
+import rpki.left_right, rpki.http, rpki.x509, rpki.config, rpki.log
import rpki.publication, rpki.async
pem_out = None
@@ -122,14 +122,6 @@ class cmd_elt_mixin(reply_elt_mixin):
"""Special handler for --bpki_cms_glue option."""
self.bpki_cms_glue = rpki.x509.X509(Auto_file = arg)
- def client_query_bpki_https_cert(self, arg):
- """Special handler for --bpki_https_cert option."""
- self.bpki_https_cert = rpki.x509.X509(Auto_file = arg)
-
- def client_query_https_glue(self, arg):
- """Special handler for --bpki_https_glue option."""
- self.bpki_https_glue = rpki.x509.X509(Auto_file = arg)
-
class cmd_msg_mixin(object):
"""
Protocol mix-in for command line client message PDUs.
@@ -303,7 +295,7 @@ if q_msg_left_right:
cms_msg = left_right_cms_msg
msg = left_right_msg
- call_rpkid = rpki.async.sync_wrapper(rpki.https.caller(
+ call_rpkid = rpki.async.sync_wrapper(rpki.http.caller(
proto = left_right_proto,
client_key = rpki.x509.RSA( Auto_file = cfg.get("rpkid-irbe-key")),
client_cert = rpki.x509.X509(Auto_file = cfg.get("rpkid-irbe-cert")),
@@ -320,7 +312,7 @@ if q_msg_publication:
msg = publication_msg
cms_msg = publication_cms_msg
- call_pubd = rpki.async.sync_wrapper(rpki.https.caller(
+ call_pubd = rpki.async.sync_wrapper(rpki.http.caller(
proto = publication_proto,
client_key = rpki.x509.RSA( Auto_file = cfg.get("pubd-irbe-key")),
client_cert = rpki.x509.X509(Auto_file = cfg.get("pubd-irbe-cert")),