[openssl-commits] [openssl] OpenSSL_0_9_8-stable update

Richard Levitte levitte at openssl.org
Wed Dec 2 17:50:09 UTC 2015


The branch OpenSSL_0_9_8-stable has been updated
       via  e979e4715f3795cb59fcf46c77e7c714a184edd8 (commit)
      from  2c02faeecd2bd321d6b8dd7bbd2f34325785fd03 (commit)


- Log -----------------------------------------------------------------
commit e979e4715f3795cb59fcf46c77e7c714a184edd8
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>
    (cherry picked from commit f9fd35248c9a3b1125d9ab82ffb19d62e86533ac)

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

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

diff --git a/ssl/ssltest.c b/ssl/ssltest.c
index 2f5a134..7a758f0 100644
--- a/ssl/ssltest.c
+++ b/ssl/ssltest.c
@@ -116,6 +116,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