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 ca307bf..2343ed8 100644
--- a/Modules/Setup.in
+++ b/Modules/Setup.in
@@ -145,10 +145,16 @@
 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).