8d858a0b78
imaplib2 always attempts to verify a certificate if a verification callback function is passed in, even the certificate is None specified. Disable the verification excplictly by setting the verification function to None in that case. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de> Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>