diff options
Diffstat (limited to 'test/clienthellotest.c')
-rw-r--r-- | test/clienthellotest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/clienthellotest.c b/test/clienthellotest.c index acd27d4a2b..8ba65ce4fb 100644 --- a/test/clienthellotest.c +++ b/test/clienthellotest.c @@ -126,7 +126,7 @@ static int test_client_hello(int currtest) * We reset the creation time so that we don't discard the session as * too old. */ - if (!TEST_true(SSL_SESSION_set_time(sess, time(NULL))) + if (!TEST_true(SSL_SESSION_set_time(sess, (long)time(NULL))) || !TEST_true(SSL_set_session(con, sess))) goto end; } |