提交 17750375 编写于 作者: Z Zhu Qun-Ying 提交者: Richard Levitte

Fixed address family test error for AF_UNIX in BIO_ADDR_make

CLA: trivial
Reviewed-by: NRich Salz <rsalz@openssl.org>
Reviewed-by: NRichard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4298)
上级 5859722c
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册