[openssl-commits] [openssl] master update

Richard Levitte levitte at openssl.org
Thu Aug 31 09:45:08 UTC 2017


The branch master has been updated
       via  177503752b24299cc97ccf07062a3b79c4f28899 (commit)
      from  5859722c45219c33e37a797190381f41241083e1 (commit)


- Log -----------------------------------------------------------------
commit 177503752b24299cc97ccf07062a3b79c4f28899
Author: Zhu Qun-Ying <zhu.qunying at gmail.com>
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 <rsalz at openssl.org>
    Reviewed-by: Richard Levitte <levitte at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/4298)

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

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 b2cd83c..ba26c91 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;
     }


More information about the openssl-commits mailing list