Fix #3257 (print cert hashes after validating the dialog)

This commit is contained in:
mathieui 2017-10-08 20:33:54 +02:00
parent ff0095b44f
commit f59fcc12ef

View file

@ -1312,7 +1312,10 @@ class HandlerCore:
def _ssl_pop_tab(self, old_cert, new_cert): def _ssl_pop_tab(self, old_cert, new_cert):
def cb(result): def cb(result):
if result: if result:
self.core.information('New certificate accepted.', 'Info') self.core.information(
'New certificate accepted:\nnew: %s\nold: %s' % (
old_cert, new_cert),
'Info')
log.debug('Setting certificate to %s', new_cert) log.debug('Setting certificate to %s', new_cert)
if not config.silent_set('certificate', new_cert): if not config.silent_set('certificate', new_cert):
self.core.information( self.core.information(