[openssl-commits] [openssl] master update

Richard Levitte levitte at openssl.org
Wed Dec 2 17:27:44 UTC 2015


The branch master has been updated
       via  f9fd35248c9a3b1125d9ab82ffb19d62e86533ac (commit)
      from  012c5408507b0c85e0af14efbda51d906d620508 (commit)


- Log -----------------------------------------------------------------
commit f9fd35248c9a3b1125d9ab82ffb19d62e86533ac
Author: Richard Levitte <levitte at openssl.org>
Date:   Wed Dec 2 18:18:03 2015 +0100

    _BSD_SOURCE is deprecated, use _DEFAULT_SOURCE instead
    
    The feature_test_macros(7) manual tells us that _BSD_SOURCE is
    deprecated since glibc 2.20 and that the compiler will warn about it
    being used, unless _DEFAULT_SOURCE is defined as well.
    
    Reviewed-by: Rich Salz <rsalz at openssl.org>

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

Summary of changes:
 test/ssltest.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/ssltest.c b/test/ssltest.c
index 1128ec8..68d48d1 100644
--- a/test/ssltest.c
+++ b/test/ssltest.c
@@ -142,6 +142,7 @@
 
 /* Or gethostname won't be declared properly on Linux and GNU platforms. */
 #define _BSD_SOURCE 1
+#define _DEFAULT_SOURCE 1
 
 #include <assert.h>
 #include <errno.h>


More information about the openssl-commits mailing list