]> granicus.if.org Git - python/commit
Break SSL support out of _socket module and place it into a new
authorMarc-André Lemburg <mal@egenix.com>
Sat, 16 Feb 2002 18:23:30 +0000 (18:23 +0000)
committerMarc-André Lemburg <mal@egenix.com>
Sat, 16 Feb 2002 18:23:30 +0000 (18:23 +0000)
commita5d2b4cb180ec87d006d63f838860fba785bcad0
treef1ddd4ab82b92077aa8a316639cbdce9ff3370b5
parente4418609f79b94b91bda2621b5e6f067fb6a31d5
Break SSL support out of _socket module and place it into a new
helper module _ssl.

The support for the RAND_* APIs in _ssl is now only enabled
for OpenSSL 0.9.5 and up since they were added in that
release.

Note that socketmodule.* should really be renamed to _socket.* --
unfortunately, this seems to lose the CVS history of the file.

Please review and test... I was only able to test the header file
chaos in socketmodule.c/h on Linux. The test run through fine
and compiles don't give errors or warnings.

WARNING: This patch does *not* include changes to the various
non-Unix build process files.
Lib/socket.py
Misc/NEWS
Modules/Setup.dist
Modules/_ssl.c [new file with mode: 0644]
Modules/socketmodule.c
Modules/socketmodule.h [new file with mode: 0644]
setup.py