Commit 326eaa94 authored by Balaji Marisetti's avatar Balaji Marisetti Committed by Matt Caswell
Browse files

Addressed build failure because of missing #ifdef AF_UNIX guard

parent 77a9c26e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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) {