summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2017-08-03 16:30:31 +0100
committerMatt Caswell <matt@openssl.org>2017-08-31 15:03:35 +0100
commitfff202e5f7312f60285a61592301189d35b8450e (patch)
treec38fb3a20ea827f5945befad3510e1b0e262cda9 /test
parent976e53232d4ee8174e2e0f5a15ad04a9d7bea351 (diff)
Add some fixes for Travis failures
Reviewed-by: Ben Kaduk <kaduk@mit.edu> (Merged from https://github.com/openssl/openssl/pull/3926)
Diffstat (limited to 'test')
-rw-r--r--test/sslapitest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/sslapitest.c b/test/sslapitest.c
index 1ff0f5e31b..10869cf15f 100644
--- a/test/sslapitest.c
+++ b/test/sslapitest.c
@@ -1399,6 +1399,8 @@ static int test_set_sigalgs(int idx)
return testresult;
}
+#ifndef OPENSSL_NO_TLS1_3
+
static SSL_SESSION *psk = NULL;
static const char *pskid = "Identity";
static const char *srvid;
@@ -1463,8 +1465,6 @@ static int find_session_cb(SSL *ssl, const unsigned char *identity,
return 1;
}
-#ifndef OPENSSL_NO_TLS1_3
-
#define MSG1 "Hello"
#define MSG2 "World."
#define MSG3 "This"