diff options
author | Balaji Marisetti <bmarisetti@caviumnetworks.com> | 2017-08-01 16:54:13 +0530 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-08-18 14:43:15 +0100 |
commit | 326eaa941e03a8922a3789ccab0d134c63d05c92 (patch) | |
tree | 708eb57e874ab94e3ca44ad00e94ddc4b42e728e /apps/s_client.c | |
parent | 77a9c26e03ccfec8d16985bce79e95eb6dc2dd2e (diff) |
Addressed build failure because of missing #ifdef AF_UNIX guard
CLA: trivial
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4067)
Diffstat (limited to 'apps/s_client.c')
-rw-r--r-- | apps/s_client.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/s_client.c b/apps/s_client.c index 45464a4ca9..5ae52b453f 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -1522,11 +1522,13 @@ int s_client_main(int argc, char **argv) } } +#ifdef AF_UNIX if (socket_family == AF_UNIX && socket_type != SOCK_STREAM) { BIO_printf(bio_err, "Can't use unix sockets and datagrams together\n"); goto end; } +#endif #ifndef OPENSSL_NO_SCTP if (protocol == IPPROTO_SCTP) { |