Updated m2crypto packages that fix one bug and add one enhancement are now available for Red Hat Enterprise Linux 5.
The m2crypto library allows Python programs to call OpenSSL functions.
M2Crypto generated an invalid exception object on SSL timeouts, causing an IndexError in the Python httplib module. This made it impossible to correctly handle SSL timeouts in applications. This updated package adds the required attributes to the SSL timeout exception object and lets httplib process this information correctly.
The M2Crypto.httpslib.HTTPSConnection class always created an IPv4 socket. This made it impossible to connect to IPv6 servers using this class. With this update, the implementation now correctly creates an IPv4 or IPv6 socket, as necessary, thus adding support for IPv6 servers.
All users of m2crypto are advised to upgrade to these updated packages, which fix this bug and add this enhancement.