_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:50:01 +0000 (18:50 +0100)
commite979e4715f3795cb59fcf46c77e7c714a184edd8
treeb3d6f92ce1edd11704b51bb45e912fa288f9e4a7
parent2c02faeecd2bd321d6b8dd7bbd2f34325785fd03
_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