X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=apps%2Fs_client.c;h=5ae52b453f14c1fc9a875a90cb599acc5ed14438;hp=45464a4ca981d23e296d984feede74ec8f5cd6c4;hb=326eaa941e03a8922a3789ccab0d134c63d05c92;hpb=77a9c26e03ccfec8d16985bce79e95eb6dc2dd2e 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) {