bio/b_addr.c: omit private hstrerror.
authorAndy Polyakov <appro@openssl.org>
Wed, 1 Mar 2017 20:28:05 +0000 (21:28 +0100)
committerAndy Polyakov <appro@openssl.org>
Thu, 2 Mar 2017 16:00:33 +0000 (17:00 +0100)
commit654f7f6be617d2be316b3d60f593767105a9859a
tree8995019689ee25ede24f24fbd2a6720fa707b22d
parent2d951d8cdef56aeeb6c08387531de943683e80ce
bio/b_addr.c: omit private hstrerror.

Private hstrerror was introduced to address linking problem on HP-UX,
but truth be told conemporary systems, HP-UX included, wouldn't come
to that call, they would use getaddrinfo and gai_strerror, while
gethostbyname and h_errno are there to serve legacy systems. Since
legacy systems are naturally disappearing breed, we can as well just
let user interpret number.

GH#2816

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(cherry picked from commit 3e49ee23eab5c3fa57d14dc5f82f50cbea718322)
crypto/bio/b_addr.c