Make upstream-cert the default. There's now a --no-upstream-cert option to turn it off.

This commit is contained in:
Aldo Cortesi
2012-07-03 22:56:25 +12:00
parent fe86194cc2
commit 837fcc65f5
3 changed files with 11 additions and 11 deletions

View File

@@ -212,9 +212,9 @@ def common_options(parser):
help="Wait for specified number of seconds after a new cert is generated. This can smooth over small discrepancies between the client and server times."
)
parser.add_option(
"--upstream-cert", default=False,
action="store_true", dest="upstream_cert",
help="Connect to upstream server to look up certificate details."
"--no-upstream-cert", default=False,
action="store_true", dest="no_upstream_cert",
help="Don't connect to upstream server to look up certificate details."
)
group = optparse.OptionGroup(parser, "Client Replay")