]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
tests: set_key: fixed the time override
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Mon, 12 Sep 2016 09:51:07 +0000 (11:51 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Mon, 12 Sep 2016 12:07:07 +0000 (14:07 +0200)
tests/set_key.c

index b6b98ee7f551e06f469637101d238b572bcbeed7..3097d817492732b464ef2ec97abff4f79cd25938 100644 (file)
@@ -57,7 +57,7 @@ static void tls_log_func(int level, const char *str)
 
 static time_t mytime(time_t * t)
 {
-       time_t then = 1461671166;
+       time_t then = 1473673819;
        if (t)
                *t = then;
 
@@ -227,7 +227,7 @@ static void auto_parse(void)
         */
        global_init();
 
-       gnutls_global_set_time_function(time);
+       gnutls_global_set_time_function(mytime);
 
        gnutls_global_set_log_function(tls_log_func);
        if (debug)