do not use any variable, structure named "sun"
When compiling on any SunOS/Solaris platform, preprocessor replaces it with 1
This fragment in crypto/bio/bio_lcl.h breaks all Solaris builds using cc
union bio_addr_st {
struct sockaddr sa;
# ifdef AF_INET6
struct sockaddr_in6 sin6;
# endif
struct sockaddr_in sin;
# ifdef AF_UNIX
struct sockaddr_un sun;
# endif
};
Suggest renaming both the sin and sun members to s_in and s_un
for readability.
crypto/bio/b_addr.c needs corresponding changes.
--
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev