7c6a512f94
On a 64-bit OS, pointer return values needed to be marked as c_void_p instead of a user-defined type, which would result in the transfer of 32 bits only. In order to still return an instance of the user-defined type to the caller, imported functions are now marked with the return type, and the return value is converted to that type by a new error checking function used only with imported functions that create and return user-defined types. On 64-bit Linux, the long type becomes 8 bytes, whereas the int type remains 4 bytes. The various sockaddr_* fields therefore needed to be changed from long to int, as did the type signatures of the packed string to array conversion functions. On an Ubuntu server installation, it was found that the name "localhost" does not resolve to an ipv6 address. A name search has therefore been added to the unit test driver, along with an ip number fallback. Tested on Ubuntu Server 12.04.1 LTS 64-bit. Regression tested on Ubuntu 12.04.1 LTS 32-bit. |
||
---|---|---|
.. | ||
demux | ||
test | ||
__init__.py | ||
cygcrypto-1.0.0.dll | ||
cygssl-1.0.0.dll | ||
err.py | ||
libeay32.dll | ||
openssl.py | ||
patch.py | ||
sslconnection.py | ||
ssleay32.dll | ||
tlock.py | ||
util.py | ||
x509.py |