The branch OpenSSL_1_1_0-stable has been updated
       via  03b4e1c3496ae009a0e1df1a39c48b051dcca3db (commit)
      from  068b963bb7afc57f5bdd723de0dd15e7795d5822 (commit)


- Log -----------------------------------------------------------------
commit 03b4e1c3496ae009a0e1df1a39c48b051dcca3db
Author: Zhu Qun-Ying <[email protected]>
Date:   Wed Aug 30 14:52:50 2017 -0700

    Fixed address family test error for AF_UNIX in BIO_ADDR_make
    
    CLA: trivial
    
    Reviewed-by: Rich Salz <[email protected]>
    Reviewed-by: Richard Levitte <[email protected]>
    (Merged from https://github.com/openssl/openssl/pull/4298)
    
    (cherry picked from commit 177503752b24299cc97ccf07062a3b79c4f28899)

-----------------------------------------------------------------------

Summary of changes:
 crypto/bio/b_addr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crypto/bio/b_addr.c b/crypto/bio/b_addr.c
index 289404c..6c2b0e9 100644
--- a/crypto/bio/b_addr.c
+++ b/crypto/bio/b_addr.c
@@ -76,7 +76,7 @@ int BIO_ADDR_make(BIO_ADDR *ap, const struct sockaddr *sa)
     }
 #endif
 #ifdef AF_UNIX
-    if (ap->sa.sa_family == AF_UNIX) {
+    if (sa->sa_family == AF_UNIX) {
         ap->s_un = *(const struct sockaddr_un *)sa;
         return 1;
     }
_____
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits

Reply via email to