diff options
author | Vladimir Kotal <vladimir.kotal@oracle.com> | 2023-10-04 16:11:42 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2023-10-05 19:12:51 +0200 |
commit | 7ae31586a77c09d45838fff73b589b2958fbd18b (patch) | |
tree | 390b950a06c320dd5b34326bdcec866272f80c6a /test | |
parent | 4ca56f51803a8ae010423180ac80ef991cf78fc5 (diff) |
avoid sun as variable name
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)
Diffstat (limited to 'test')
-rw-r--r-- | test/bio_addr_test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/bio_addr_test.c b/test/bio_addr_test.c index a985d03b14..9ca007e511 100644 --- a/test/bio_addr_test.c +++ b/test/bio_addr_test.c @@ -31,7 +31,7 @@ static BIO_ADDR *make_dummy_addr(int family) struct sockaddr_in6 sin6; #endif #ifndef OPENSSL_NO_UNIX_SOCK - struct sockaddr_un sun; + struct sockaddr_un sunaddr; #endif } sa; void *where; @@ -51,9 +51,9 @@ static BIO_ADDR *make_dummy_addr(int family) #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: |