From cbdff766d2be1e065c76dc571552ebe3747dcf70 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 7 Dec 1999 21:47:09 +0000 Subject: [PATCH] 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. --- Modules/Setup.in | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Modules/Setup.in b/Modules/Setup.in index ca307bf9d89..2343ed88b3a 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).