OpenSSL support. This is based on patches for a version of SSLeay by
authorGuido van Rossum <guido@python.org>
Tue, 7 Dec 1999 21:47:09 +0000 (21:47 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 7 Dec 1999 21:47:09 +0000 (21:47 +0000)
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

index ca307bf9d898484c4a01c329a9e1093933998d99..2343ed88b3aa0b30d91f7dfc39c37bf8a8f92e75 100644 (file)
@@ -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).