The branch OpenSSL_1_1_1-stable has been updated
       via  0888183816636f994a3384cde211c88e0d4d1f6a (commit)
      from  dc3520b1ad3e1d70b899210bacc002318ebe276a (commit)


- Log -----------------------------------------------------------------
commit 0888183816636f994a3384cde211c88e0d4d1f6a
Author: Daniel Krügler <daniel.krueg...@gmail.com>
Date:   Fri Aug 27 18:32:20 2021 +0200

    Ensure that _GNU_SOURCE is defined for bss_dgram.c
    
    This fixes the following error with gcc10 under strict ANSI conditions:
    
    .../crypto/bio/bss_dgram.c:373:20: error: 'const struct in6_addr' has no 
member named 's6_addr32'
    
    CLA: trivial
    Fixes #16449
    
    Reviewed-by: Bernd Edlinger <bernd.edlin...@hotmail.de>
    Reviewed-by: Paul Dale <pa...@openssl.org>
    Reviewed-by: Dmitry Belyavskiy <beld...@gmail.com>
    (Merged from https://github.com/openssl/openssl/pull/16451)
    
    (cherry picked from commit e8e1f6d1a9e599d575431f559200018b8f822e0f)

-----------------------------------------------------------------------

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

diff --git a/crypto/bio/bss_dgram.c b/crypto/bio/bss_dgram.c
index 942fd8b514..2b2e4d5f88 100644
--- a/crypto/bio/bss_dgram.c
+++ b/crypto/bio/bss_dgram.c
@@ -7,6 +7,10 @@
  * https://www.openssl.org/source/license.html
  */
 
+#ifndef _GNU_SOURCE
+# define _GNU_SOURCE
+#endif
+
 #include <stdio.h>
 #include <errno.h>
 

Reply via email to