From: Guido van Rossum Date: Tue, 7 Dec 1999 21:47:09 +0000 (+0000) Subject: OpenSSL support. This is based on patches for a version of SSLeay by X-Git-Tag: v1.6a1~678 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cbdff766d2be1e065c76dc571552ebe3747dcf70;p=thirdparty%2FPython%2Fcpython.git OpenSSL support. This is based on patches for a version of SSLeay by Brian E Gallew, which were improved and adapted to OpenSSL 0.9.4 by Laszlo Kovacs of HP. Both have kindly given permission to include the patches in the Python distribution. Final formatting by GvR. --- diff --git a/Modules/Setup.in b/Modules/Setup.in index ca307bf9d898..2343ed88b3aa 100644 --- a/Modules/Setup.in +++ b/Modules/Setup.in @@ -145,10 +145,16 @@ operator operator.c # operator.add() and similar goodies fcntl fcntlmodule.c # fcntl(2) and ioctl(2) pwd pwdmodule.c # pwd(3) grp grpmodule.c # grp(3) +errno errnomodule.c # posix (UNIX) errno values select selectmodule.c # select(2); not on ancient System V socket socketmodule.c # socket(2); not on ancient System V #_socket socketmodule.c # socket(2); use this one for BeOS sockets -errno errnomodule.c # posix (UNIX) errno values + +# Socket module compiled with SSL support; you must edit the SSL variable: +#SSL=/usr/local/ssl +#socket socketmodule.c \ +# -DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \ +# -L$(SSL)/lib -lssl -lcrypto # The crypt module is now disabled by default because it breaks builds # on many systems (where -lcrypt is needed), e.g. Linux (I believe).