[openssl/openssl] bio_dgram vs IPv6

Michael Richardson mcr at sandelman.ca
Thu Mar 31 20:17:44 UTC 2022


Michael Wojcik <Michael.Wojcik at microfocus.com> wrote:
    > #if defined OPENSSL_SYS_WINDOWS
    > # include <shared/netiodef.h>
    > #else
    > # include <netinet/ip6.h>
    > #endif

But, don't all the OPENSSL_* macros expand to 0/1, anyway, so we actually
just want #if OPENSSL_SYS_WINDOWS?

    > (Note C does not require the argument of the operator "defined" to be
    > parenthesized. Doing so just adds visual noise. ISO 9899-1999 6.10.1
    > #1.)

Thank you.
I've updated bss_dgram.c, squashed against the last commit relating to
USE_IPV6 and pushed.

--
]               Never tell me the odds!                 | ipv6 mesh networks [
]   Michael Richardson, Sandelman Software Works        |    IoT architect   [
]     mcr at sandelman.ca  http://www.sandelman.ca/        |   ruby on rails    [



More information about the openssl-users mailing list