This commit is contained in:
Wlayzz 2024-03-13 16:51:30 +01:00
parent b84f6fd3cd
commit 05c1a35b7b
1 changed files with 1 additions and 1 deletions

View File

@ -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'