diff options
Diffstat (limited to 'src/lib/libcrypto/x509/x509_vpm.c')
-rw-r--r-- | src/lib/libcrypto/x509/x509_vpm.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509_vpm.c b/src/lib/libcrypto/x509/x509_vpm.c index d4ec2c597f..e14d7a36fd 100644 --- a/src/lib/libcrypto/x509/x509_vpm.c +++ b/src/lib/libcrypto/x509/x509_vpm.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_vpm.c,v 1.29 2022/06/27 14:00:09 tb Exp $ */ | 1 | /* $OpenBSD: x509_vpm.c,v 1.30 2022/07/04 12:17:32 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2004. | 3 | * project 2004. |
4 | */ | 4 | */ |
@@ -459,6 +459,12 @@ X509_VERIFY_PARAM_set_auth_level(X509_VERIFY_PARAM *param, int auth_level) | |||
459 | param->security_level = auth_level; | 459 | param->security_level = auth_level; |
460 | } | 460 | } |
461 | 461 | ||
462 | time_t | ||
463 | X509_VERIFY_PARAM_get_time(const X509_VERIFY_PARAM *param) | ||
464 | { | ||
465 | return param->check_time; | ||
466 | } | ||
467 | |||
462 | void | 468 | void |
463 | X509_VERIFY_PARAM_set_time(X509_VERIFY_PARAM *param, time_t t) | 469 | X509_VERIFY_PARAM_set_time(X509_VERIFY_PARAM *param, time_t t) |
464 | { | 470 | { |