]> granicus.if.org Git - openssl/commit
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 15:28:54 +0000 (16:28 +0100)
commit3e49ee23eab5c3fa57d14dc5f82f50cbea718322
tree5e1035b282a65568d3341a1952ede257224562ae
parentea750b59297a7be5ed23d9ae579a3d69b6491c2c
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>
crypto/bio/b_addr.c