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 a86f1ab..935396a 100644 --- a/test/clienthellotest.c +++ b/test/clienthellotest.c @@ -164,7 +164,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, (long)time(NULL))) + if (!TEST_true(SSL_SESSION_set_time_ex(sess, time(NULL))) || !TEST_true(SSL_set_session(con, sess))) goto end; } |