mirror of https://github.com/sc0tfree/updog.git
--amend
This commit is contained in:
parent
b84f6fd3cd
commit
05c1a35b7b
|
@ -179,7 +179,7 @@ def main():
|
|||
if args.ssl:
|
||||
if args.cert and args.key:
|
||||
ssl_context = (args.cert, args.key)
|
||||
if (args.cert and not args.key) or (args.key and not args.cert):
|
||||
elif (args.cert and not args.key) or (args.key and not args.cert):
|
||||
error('The private key or certificate is missing')
|
||||
else:
|
||||
ssl_context = 'adhoc'
|
||||
|
|
Loading…
Reference in New Issue