pydtls/dtls
Ray Brown 7c6a512f94 64-bit port
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.
2012-12-02 10:39:39 -08:00
..
demux Implement and turn on the osnet demux 2012-11-27 21:33:09 -08:00
test 64-bit port 2012-12-02 10:39:39 -08:00
__init__.py Implement and turn on the osnet demux 2012-11-27 21:33:09 -08:00
cygcrypto-1.0.0.dll Initial commit: up to and including data exchange functionality 2012-10-29 12:44:24 -07:00
cygssl-1.0.0.dll Initial commit: up to and including data exchange functionality 2012-10-29 12:44:24 -07:00
err.py Echo server connection timeout and monitoring 2012-11-25 13:44:55 -08:00
libeay32.dll Initial commit: up to and including data exchange functionality 2012-10-29 12:44:24 -07:00
openssl.py 64-bit port 2012-12-02 10:39:39 -08:00
patch.py Add IPv6 unit tests 2012-11-21 19:20:16 -08:00
sslconnection.py 64-bit port 2012-12-02 10:39:39 -08:00
ssleay32.dll Initial commit: up to and including data exchange functionality 2012-10-29 12:44:24 -07:00
tlock.py Multi-thread support 2012-11-22 16:33:27 -08:00
util.py 64-bit port 2012-12-02 10:39:39 -08:00
x509.py Certificate formatting and retrieval 2012-11-08 12:04:40 -08:00