This commit is contained in:
Yann Leboulanger 2007-09-18 15:45:25 +00:00
parent d2b014e17a
commit c2f43c84de
1 changed files with 1 additions and 1 deletions

View File

@ -490,7 +490,7 @@ class Connection(ConnectionHandlers):
if errnum > 0:
# FIXME: tell the user that the certificat is untrusted, and ask him what to do
try:
log.warning("The authenticity of the "+hostname+" certificate could be unvalid.\nSSL Error: "+ssl_error[errnum])
log.warning("The authenticity of the "+hostname+" certificate could be invalid.\nSSL Error: "+ssl_error[errnum])
except KeyError:
log.warning("Unknown SSL error: %d" % errnum)
con.auth(name, self.password, self.server_resource, 1, self.__on_auth)