diff --git a/lib/core/option.py b/lib/core/option.py index 29b06c434..eb42dc8d5 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -1268,9 +1268,9 @@ def _setHTTPAuthentication(): debugMsg = "setting the HTTP(s) authentication PEM private key" logger.debug(debugMsg) - key_file = os.path.expanduser(conf.authPrivate) - checkFile(key_file) - authHandler = HTTPSPKIAuthHandler(key_file) + _ = os.path.expanduser(conf.authPrivate) + checkFile(_) + authHandler = HTTPSPKIAuthHandler(_) def _setHTTPExtraHeaders(): if conf.headers: