summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-03-09 00:48:49 +0100
committermathieui <mathieui@mathieui.net>2012-03-09 00:48:49 +0100
commit5c412a66b8c148852dbf8d5b9ca45d08c7865fb1 (patch)
tree6368bf2dedb2513d093db411095857dfef5d871d /src
parent497e9fc6853faa17521254b0578735bb6e400d76 (diff)
downloadpoezio-5c412a66b8c148852dbf8d5b9ca45d08c7865fb1.tar.gz
poezio-5c412a66b8c148852dbf8d5b9ca45d08c7865fb1.tar.bz2
poezio-5c412a66b8c148852dbf8d5b9ca45d08c7865fb1.tar.xz
poezio-5c412a66b8c148852dbf8d5b9ca45d08c7865fb1.zip
Add a ca_cert_path option
Diffstat (limited to 'src')
-rw-r--r--src/connection.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/connection.py b/src/connection.py
index 8a7c1ea7..0e92755f 100644
--- a/src/connection.py
+++ b/src/connection.py
@@ -44,6 +44,7 @@ class Connection(sleekxmpp.ClientXMPP):
self.core = None
self.auto_reconnect = True if config.get('auto_reconnect', 'false').lower() in ('true', '1') else False
self.auto_authorize = None
+ self.ca_certs = config.get('ca_cert_path', '') or None
self.register_plugin('xep_0030')
self.register_plugin('xep_0004')
self.register_plugin('xep_0045')