diff options
author | Matt Caswell <matt@openssl.org> | 2016-03-21 16:32:40 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-03-21 17:33:59 +0100 |
commit | f9e550341281b0d344f7a5e7ac2ace79f88a3184 (patch) | |
tree | 92d80d122c6d3c1eee39ffdd08cfe1980a657095 /apps/s_time.c | |
parent | Fix no-gost (diff) | |
download | openssl-f9e550341281b0d344f7a5e7ac2ace79f88a3184.tar.xz openssl-f9e550341281b0d344f7a5e7ac2ace79f88a3184.zip |
Fix no-sock
Misc fixes for no-sock
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'apps/s_time.c')
-rw-r--r-- | apps/s_time.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/s_time.c b/apps/s_time.c index f68002a224..6890bc1be0 100644 --- a/apps/s_time.c +++ b/apps/s_time.c @@ -66,6 +66,10 @@ #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 */ |