From 3a7e7b8dfccfe31094db83bef21daee7fa210da7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20G=C3=B3mez=20Garc=C3=ADa?= Date: Mon, 5 Jul 2021 18:03:22 +0200 Subject: [PATCH] Fixed Client on non standard ports --- client-py3/full/src/uds/tools.py | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/client-py3/full/src/uds/tools.py b/client-py3/full/src/uds/tools.py index 587f5f13..a4152e4e 100644 --- a/client-py3/full/src/uds/tools.py +++ b/client-py3/full/src/uds/tools.py @@ -230,18 +230,10 @@ def verifySignature(script: bytes, signature: bytes) -> bool: return True def getCaCertsFile() -> str: - logger.debug('Certifi: %s', certifi.where()) - logger.debug('File: %s', __file__) try: if os.path.exists(certifi.where()): - logger.debug('Certifi file exists: %s', certifi.where()) return certifi.where() except Exception: - pass + logger.debug('Certifi file does not exists: %s', certifi.where()) - if 'darwin' in sys.platform: - path = __file__ - logger.debug('Certifi file: %s', path) - return path - - return '' + return '' # Return empty path