Commit 36097bd8 authored by Balaji Marisetti's avatar Balaji Marisetti Committed by Matt Caswell
Browse files

Addressed build failure because of missing #ifdef AF_UNIX guard


CLA: trivial

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
Reviewed-by: default avatarMatt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4067)

(cherry picked from commit 326eaa94)
parent f48e792f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1370,11 +1370,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

    if (split_send_fragment > SSL3_RT_MAX_PLAIN_LENGTH) {
        BIO_printf(bio_err, "Bad split send fragment size\n");