_BSD_SOURCE is deprecated, use _DEFAULT_SOURCE instead
authorRichard Levitte <levitte@openssl.org>
Wed, 2 Dec 2015 17:18:03 +0000 (18:18 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 2 Dec 2015 17:49:57 +0000 (18:49 +0100)
commitfb35ea28f4f64263adf3e85327e6d73ab980fe25
treedb1bba4e311215c56267d04de6dbbc3f5b886e5e
parent41d049e1cda0e23ad45fbca94fc90cfe9cfee466
_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@openssl.org>
(cherry picked from commit f9fd35248c9a3b1125d9ab82ffb19d62e86533ac)
ssl/ssltest.c