aboutsummaryrefslogtreecommitdiffstats
path: root/sm/certpath.c
diff options
context:
space:
mode:
Diffstat (limited to 'sm/certpath.c')
-rw-r--r--sm/certpath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sm/certpath.c b/sm/certpath.c
index 1283ce46d..28c0be52f 100644
--- a/sm/certpath.c
+++ b/sm/certpath.c
@@ -315,7 +315,7 @@ gpgsm_validate_path (KsbaCert cert, time_t *r_exptime)
char *subject = NULL;
KEYDB_HANDLE kh = keydb_new (0);
KsbaCert subject_cert = NULL, issuer_cert = NULL;
- time_t current_time = time (NULL);
+ time_t current_time = gnupg_get_time ();
time_t exptime = 0;
if (r_exptime)