projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
068b963
)
Fixed address family test error for AF_UNIX in BIO_ADDR_make
author
Zhu Qun-Ying
<zhu.qunying@gmail.com>
Wed, 30 Aug 2017 21:52:50 +0000
(14:52 -0700)
committer
Richard Levitte
<levitte@openssl.org>
Thu, 31 Aug 2017 09:45:55 +0000
(11:45 +0200)
CLA: trivial
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4298)
(cherry picked from commit
177503752b24299cc97ccf07062a3b79c4f28899
)
crypto/bio/b_addr.c
patch
|
blob
|
history
diff --git
a/crypto/bio/b_addr.c
b/crypto/bio/b_addr.c
index 289404c16bd8cc132c015a9aee77a9ffaba1e808..6c2b0e906c41a1253b30a10f3fe9cbb34ef1e15c 100644
(file)
--- 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;
}