diff options
author | Rich Salz <rsalz@openssl.org> | 2017-01-10 16:18:33 -0500 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2017-01-12 09:54:09 -0500 |
commit | 329f2f4a428b0acb7a579869a13f6cd6bf0a3551 (patch) | |
tree | 21b1720cfe4d65f717c91c79de567843cd722ed0 /crypto/x509/x509_vpm.c | |
parent | 65c1f979ee9346d63bb6e81f25bb7dffda99b342 (diff) |
GH2176: Add X509_VERIFY_PARAM_get_time
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2208)
Diffstat (limited to 'crypto/x509/x509_vpm.c')
-rw-r--r-- | crypto/x509/x509_vpm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/x509/x509_vpm.c b/crypto/x509/x509_vpm.c index 9e1b7c64cd..95f1c5b4c8 100644 --- a/crypto/x509/x509_vpm.c +++ b/crypto/x509/x509_vpm.c @@ -320,6 +320,11 @@ void X509_VERIFY_PARAM_set_auth_level(X509_VERIFY_PARAM *param, int auth_level) param->auth_level = auth_level; } +time_t X509_VERIFY_PARAM_get_time(const X509_VERIFY_PARAM *param) +{ + return param->check_time; +} + void X509_VERIFY_PARAM_set_time(X509_VERIFY_PARAM *param, time_t t) { param->check_time = t; |