From 55d48e0d7c6413fac9758c8bb467819d83fcbe40 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 14 Nov 2011 18:32:18 +0100 Subject: [PATCH] save ssl fingerprint as soon as we accept a connection to the host. Fixes #7041 --- src/gui_interface.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui_interface.py b/src/gui_interface.py index a6598e460..fb2b7a597 100644 --- a/src/gui_interface.py +++ b/src/gui_interface.py @@ -1179,8 +1179,8 @@ class Interface: f.write(server + '\n') f.write(obj.cert + '\n\n') f.close() - gajim.config.set_per('accounts', account, - 'ssl_fingerprint_sha1', obj.fingerprint) + gajim.config.set_per('accounts', account, 'ssl_fingerprint_sha1', + obj.fingerprint) if is_checked[1]: ignore_ssl_errors = gajim.config.get_per('accounts', account, 'ignore_ssl_errors').split()