cast port to integer
This commit is contained in:
parent
c1fda041f3
commit
7b3c440303
@ -200,7 +200,7 @@ def show_result(user_args):
|
|||||||
try:
|
try:
|
||||||
cert = get_cert(host, port, user_args)
|
cert = get_cert(host, port, user_args)
|
||||||
context[host] = get_cert_info(host, cert)
|
context[host] = get_cert_info(host, cert)
|
||||||
context[host]['tcp_port'] = port
|
context[host]['tcp_port'] = int(port)
|
||||||
|
|
||||||
# Analyze the certificate if enabled
|
# Analyze the certificate if enabled
|
||||||
if user_args.analyze:
|
if user_args.analyze:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user