diff options
author | jsing <> | 2014-10-13 13:50:28 +0000 |
---|---|---|
committer | jsing <> | 2014-10-13 13:50:28 +0000 |
commit | a6310036ab6f54381e75674caa16a40e24654a2d (patch) | |
tree | f403a6770e24bbf55da5506cc12f1313062f08a9 /src | |
parent | 55c86f27865fc5782686858122d39a69c5f6e699 (diff) | |
download | openbsd-a6310036ab6f54381e75674caa16a40e24654a2d.tar.gz openbsd-a6310036ab6f54381e75674caa16a40e24654a2d.tar.bz2 openbsd-a6310036ab6f54381e75674caa16a40e24654a2d.zip |
Remove _XOPEN_SOURCE_EXTENDED since we're not too concerned about
gethostname being declared properly on Compaq platforms that use DEC C...
Diffstat (limited to 'src')
-rw-r--r-- | src/regress/lib/libssl/ssl/ssltest.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/regress/lib/libssl/ssl/ssltest.c b/src/regress/lib/libssl/ssl/ssltest.c index fd8031983e..1f7503af51 100644 --- a/src/regress/lib/libssl/ssl/ssltest.c +++ b/src/regress/lib/libssl/ssl/ssltest.c | |||
@@ -178,15 +178,8 @@ | |||
178 | #include <openssl/dh.h> | 178 | #include <openssl/dh.h> |
179 | #include <openssl/bn.h> | 179 | #include <openssl/bn.h> |
180 | 180 | ||
181 | #define _XOPEN_SOURCE_EXTENDED 1 | 181 | #define TEST_SERVER_CERT "../apps/server.pem" |
182 | /* Or gethostname won't be declared properly | 182 | #define TEST_CLIENT_CERT "../apps/client.pem" |
183 | on Compaq platforms (at least with DEC C). | ||
184 | Do not try to put it earlier, or IPv6 includes | ||
185 | get screwed... */ | ||
186 | |||
187 | |||
188 | # define TEST_SERVER_CERT "../apps/server.pem" | ||
189 | # define TEST_CLIENT_CERT "../apps/client.pem" | ||
190 | 183 | ||
191 | static int verify_callback(int ok, X509_STORE_CTX *ctx); | 184 | static int verify_callback(int ok, X509_STORE_CTX *ctx); |
192 | static RSA *tmp_rsa_cb(SSL *s, int is_export, int keylength); | 185 | static RSA *tmp_rsa_cb(SSL *s, int is_export, int keylength); |