Fix SSL fingerprint was not always checked

As reported by James Cook, we would not check the fingerprint of the SSL
server, as we were looking for the 'ssl' module in locals() rather than
globals(). Ooops!

Rather than using globals() though, I simply remove the by-now
superfluous check. We now rely on python2.6 and we unconditionally
import the SSL module in any case, so it needs to be there.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
This commit is contained in:
Sebastian Spaeth
2012-04-19 18:23:12 +02:00
parent a4b4f1ffcb
commit 895e709bf2
2 changed files with 3 additions and 3 deletions

View File

@ -9,6 +9,7 @@ WIP (add new stuff for the next release)
========================================
* bump bundled imaplib2 library 2.29 --> 2.33
* Actually perform the SSL fingerprint check (reported by J. Cook)
* Curses UI, don't use colors after we shut down curses already (C.Höger)
OfflineIMAP v6.5.3.1 (2012-04-03)