From ad1190f74dfe4514a19b21277f01bc71e02e8220 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Mon, 23 Jun 2008 03:23:26 +0000 Subject: [PATCH] add _hx509_verify_get_time git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23266 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hx509/cert.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/hx509/cert.c b/lib/hx509/cert.c index 370633f2a..035b678f2 100644 --- a/lib/hx509/cert.c +++ b/lib/hx509/cert.c @@ -485,6 +485,12 @@ hx509_verify_set_time(hx509_verify_ctx ctx, time_t t) ctx->time_now = t; } +time_t +_hx509_verify_get_time(hx509_verify_ctx ctx) +{ + return ctx->time_now; +} + /** * Set the maximum depth of the certificate chain that the path * builder is going to try.