Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22281)
struct sockaddr_in6 sin6;
#endif
#ifndef OPENSSL_NO_UNIX_SOCK
- struct sockaddr_un sun;
+ struct sockaddr_un sunaddr;
#endif
} sa;
void *where;
#endif
#ifndef OPENSSL_NO_UNIX_SOCK
case AF_UNIX:
- where = &(sa.sun.sun_path);
+ where = &(sa.sunaddr.sun_path);
/* BIO_ADDR_rawmake needs an extra byte for a NUL-terminator*/
- wherelen = sizeof(sa.sun.sun_path) - 1;
+ wherelen = sizeof(sa.sunaddr.sun_path) - 1;
break;
#endif
default: