Commit 0d88d065 authored by David Johnson's avatar David Johnson

Fix for (currently unused) cacert option handling.

parent 4f6a7f3e
......@@ -490,7 +490,7 @@ class ProtoGeniServer(object):
if self.passphrasefile[0] == '~':
self.passphrasefile = HOME + "/" + self.passphrasefile[1:]
self.cacert = (config and config.cacert) or cacert
if self.cacert[0] == '~':
if self.cacert is not None and self.cacert[0] == '~':
self.cacert = HOME + "/" + self.cacert[1:]
self.noCertHostChecking = (config and config.nocerthostchecking) or noCertHostChecking
self.endpoints = endpoints
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment