Red Hat Training

A Red Hat training course is available for Red Hat Linux

5.180. m2crypto

An updated m2crypto package that fixes various bugs is now available for Red Hat Enterprise Linux 6.
The m2crypto package allows Python programs to call OpenSSL functions.

Bug Fixes

BZ#742914
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.
BZ#803520
Prior to this update, the AES_crypt() function did not free a temporary buffer. This caused a memory leak when the function was called repeatedly. This problem has been fixed and the AES_crypt() function now frees memory correctly.
BZ#803554
The implementation of HTTPS connections via a proxy did not reflect the changes in Python 2.6. Consequently, every attempt to connect to an HTTPS server using a proxy failed, generating an exception. The M2Crypto implementation has been updated and now works correctly.
All users of m2crypto are advised to upgrade to this updated package, which fixes these bugs.