Extensions to d2i_test.
[openssl.git] / apps / s_time.c
index f68002a224091841837b9af3b086747ebb282470..6890bc1be00c033658e07173d72c5ffcf6738931 100644 (file)
 #include <stdlib.h>
 #include <string.h>
 
+#include <openssl/opensslconf.h>
+
+#ifndef OPENSSL_NO_SOCK
+
 #define USE_SOCKETS
 #include "apps.h"
 #include <openssl/x509.h>
@@ -474,3 +478,4 @@ static SSL *doConnection(SSL *scon, const char *host, SSL_CTX *ctx)
 
     return serverCon;
 }
+#endif /* OPENSSL_NO_SOCK */