[openssl] master update

matthias.st.pierre at ncp-e.com matthias.st.pierre at ncp-e.com
Sat Oct 3 14:02:56 UTC 2020

The branch master has been updated
       via  99501e817cbc4f11cc045dbaa7a81854d4349335 (commit)
      from  993c437dbd14579cbbd55a2742274f10fc7c6e21 (commit)

- Log -----------------------------------------------------------------
commit 99501e817cbc4f11cc045dbaa7a81854d4349335
Author: drgler <daniel.kruegler at gmail.com>
Date:   Thu Oct 1 21:20:33 2020 +0200

    Ensure that _GNU_SOURCE is defined for NI_MAXHOST and NI_MAXSERV
    Since glibc 2.8, these defines like `NI_MAXHOST` are exposed only
    if suitable feature test macros are defined, namely: _GNU_SOURCE,
    _DEFAULT_SOURCE (since glibc 2.19), or _BSD_SOURCE or _SVID_SOURCE
    (before glibc 2.19), see GETNAMEINFO(3).
    CLA: trivial
    Fixes #13049
    Reviewed-by: Richard Levitte <levitte at openssl.org>
    Reviewed-by: Matt Caswell <matt at openssl.org>
    Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre at ncp-e.com>
    (Merged from https://github.com/openssl/openssl/pull/13054)


Summary of changes:
 crypto/bio/b_addr.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/crypto/bio/b_addr.c b/crypto/bio/b_addr.c
index 4652003149..b7469bc720 100644
--- a/crypto/bio/b_addr.c
+++ b/crypto/bio/b_addr.c
@@ -7,6 +7,10 @@
  * https://www.openssl.org/source/license.html
+#ifndef _GNU_SOURCE
+# define _GNU_SOURCE
 #include <assert.h>
 #include <string.h>

More information about the openssl-commits mailing list