Hi,

The following patch (among others) is needed to build apps/openssl on systems
lacking both the implementation and header files of the sockets api.

Would this be the correct way to do this? or is there a way of leting
Configure and make exclude the file from compilation?

Thanks in advance,
Enrique

--- /tmp/openssl-SNAP-20021120/apps/s_socket.c  2002-11-16 00:00:54.000000000 +0100
+++ ./apps/s_socket.c   2002-11-21 23:30:10.000000000 +0100
@@ -56,6 +56,8 @@
  * [including the GNU Public Licence.]
  */
 
+#ifndef OPENSSL_NO_SOCK
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -553,3 +555,4 @@
                return(ret);
                }
        }
+#endif

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to