Skip to content

Commit

Permalink
Merge pull request #661 from tomato42/fix-hostname
Browse files Browse the repository at this point in the history
test: fix variable name
  • Loading branch information
tomato42 committed May 13, 2020
2 parents 2b72f3f + c835e74 commit 1031292
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions scripts/test-certificate-request.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
from tlslite.x509certchain import X509CertChain


version = 5
version = 6


def help_msg():
Expand Down Expand Up @@ -94,7 +94,7 @@ def main():
opts, args = getopt.getopt(argv, "h:p:e:x:X:s:k:c:T:", ["help"])
for opt, arg in opts:
if opt == '-h':
host = arg
hostname = arg
elif opt == '-p':
port = int(arg)
elif opt == '-e':
Expand Down
4 changes: 2 additions & 2 deletions scripts/test-rsa-sigs-on-certificate-verify.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def main():
cert = X509()
cert.parse(text_cert)
elif opt == '-h':
host = arg
hostname = arg
elif opt == '-p':
port = int(arg)
elif opt == '-e':
Expand Down Expand Up @@ -187,7 +187,7 @@ def main():
failed = []
xpassed = []

print("Certificate Verify test version 4")
print("Certificate Verify test version 5")

sanity_tests = [('sanity', conversations['sanity'])]
regular_tests = [(k, v) for k, v in conversations.items() if k != 'sanity']
Expand Down
4 changes: 2 additions & 2 deletions scripts/test-tls13-certificate-request.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
from tlslite.x509certchain import X509CertChain


version = 5
version = 6


def help_msg():
Expand Down Expand Up @@ -111,7 +111,7 @@ def main():
opts, args = getopt.getopt(argv, "h:p:e:x:X:s:k:c:E:", ["help"])
for opt, arg in opts:
if opt == '-h':
host = arg
hostname = arg
elif opt == '-p':
port = int(arg)
elif opt == '-e':
Expand Down
4 changes: 2 additions & 2 deletions scripts/test-tls13-certificate-verify.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
from tlslite.x509certchain import X509CertChain


version = 4
version = 5


def help_msg():
Expand Down Expand Up @@ -156,7 +156,7 @@ def main():
opts, args = getopt.getopt(argv, "h:p:e:x:X:n:s:k:c:", ["help", "hash-order="])
for opt, arg in opts:
if opt == '-h':
host = arg
hostname = arg
elif opt == '-p':
port = int(arg)
elif opt == '-e':
Expand Down
4 changes: 2 additions & 2 deletions scripts/test-tls13-ecdsa-in-certificate-verify.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
from tlslite.x509certchain import X509CertChain


version = 2
version = 3


def help_msg():
Expand Down Expand Up @@ -163,7 +163,7 @@ def main():
opts, args = getopt.getopt(argv, "h:p:e:x:X:n:s:k:c:", ["help", "hash-order="])
for opt, arg in opts:
if opt == '-h':
host = arg
hostname = arg
elif opt == '-p':
port = int(arg)
elif opt == '-e':
Expand Down

0 comments on commit 1031292

Please sign in to comment.