From: Andy Polyakov Date: Thu, 19 Jul 2018 13:27:24 +0000 (+0200) Subject: bio/bss_dgram.c: harmonize usage of OPENSSL_USE_IPV6 with the rest. X-Git-Tag: OpenSSL_1_1_1-pre9~116 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=f36e9f1183b4c4947d3c71d4c31a541b96c6e3f8 bio/bss_dgram.c: harmonize usage of OPENSSL_USE_IPV6 with the rest. Reviewed-by: Rich Salz Reviewed-by: Kurt Roeckx (Merged from https://github.com/openssl/openssl/pull/6745) --- diff --git a/crypto/bio/bss_dgram.c b/crypto/bio/bss_dgram.c index 424109c961..d5fe5bb5a8 100644 --- a/crypto/bio/bss_dgram.c +++ b/crypto/bio/bss_dgram.c @@ -364,7 +364,7 @@ static long dgram_get_mtu_overhead(bio_dgram_data *data) */ ret = 28; break; -# ifdef AF_INET6 +# if OPENSSL_USE_IPV6 case AF_INET6: { # ifdef IN6_IS_ADDR_V4MAPPED