summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2014-10-13 13:50:29 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2014-10-13 13:50:29 +0000
commit268320b2c7afd86c978bd2b6748cea92c384cca8 (patch)
treeb042d3fb0da1bbdfeb149260a1594b2e98a9c169 /regress
parentefa17d7e4edeadf8ad96018ca73a6163618a026e (diff)
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 'regress')
-rw-r--r--regress/lib/libssl/ssl/ssltest.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/regress/lib/libssl/ssl/ssltest.c b/regress/lib/libssl/ssl/ssltest.c
index fd8031983ef..1f7503af51d 100644
--- a/regress/lib/libssl/ssl/ssltest.c
+++ b/regress/lib/libssl/ssl/ssltest.c
@@ -178,15 +178,8 @@
#include <openssl/dh.h>
#include <openssl/bn.h>
-#define _XOPEN_SOURCE_EXTENDED 1
-/* Or gethostname won't be declared properly
- on Compaq platforms (at least with DEC C).
- Do not try to put it earlier, or IPv6 includes
- get screwed... */
-
-
-# define TEST_SERVER_CERT "../apps/server.pem"
-# define TEST_CLIENT_CERT "../apps/client.pem"
+#define TEST_SERVER_CERT "../apps/server.pem"
+#define TEST_CLIENT_CERT "../apps/client.pem"
static int verify_callback(int ok, X509_STORE_CTX *ctx);
static RSA *tmp_rsa_cb(SSL *s, int is_export, int keylength);