diff options
author | tb <> | 2022-07-04 12:17:32 +0000 |
---|---|---|
committer | tb <> | 2022-07-04 12:17:32 +0000 |
commit | 7869bf01c6d0b61d5bf56605b35b2ee60ee72e3c (patch) | |
tree | fd461cb3e0bb3c84bf38a7a31fa704d527a5333c /src/lib/libcrypto/x509/x509_vfy.h | |
parent | c8148fe4a357bf456bc2da69589b49c1c58c535f (diff) | |
download | openbsd-7869bf01c6d0b61d5bf56605b35b2ee60ee72e3c.tar.gz openbsd-7869bf01c6d0b61d5bf56605b35b2ee60ee72e3c.tar.bz2 openbsd-7869bf01c6d0b61d5bf56605b35b2ee60ee72e3c.zip |
Prepare to provide X509_VERIFY_PARAM_get_time()
ok jsing sthen
Diffstat (limited to 'src/lib/libcrypto/x509/x509_vfy.h')
-rw-r--r-- | src/lib/libcrypto/x509/x509_vfy.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509_vfy.h b/src/lib/libcrypto/x509/x509_vfy.h index d31e779aae..b18dd02fc0 100644 --- a/src/lib/libcrypto/x509/x509_vfy.h +++ b/src/lib/libcrypto/x509/x509_vfy.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_vfy.h,v 1.52 2022/06/27 14:10:22 tb Exp $ */ | 1 | /* $OpenBSD: x509_vfy.h,v 1.53 2022/07/04 12:17:32 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -435,6 +435,7 @@ int X509_VERIFY_PARAM_set_trust(X509_VERIFY_PARAM *param, int trust); | |||
435 | void X509_VERIFY_PARAM_set_depth(X509_VERIFY_PARAM *param, int depth); | 435 | void X509_VERIFY_PARAM_set_depth(X509_VERIFY_PARAM *param, int depth); |
436 | #if defined(LIBRESSL_INTERNAL) | 436 | #if defined(LIBRESSL_INTERNAL) |
437 | void X509_VERIFY_PARAM_set_auth_level(X509_VERIFY_PARAM *param, int auth_level); | 437 | void X509_VERIFY_PARAM_set_auth_level(X509_VERIFY_PARAM *param, int auth_level); |
438 | time_t X509_VERIFY_PARAM_get_time(const X509_VERIFY_PARAM *param); | ||
438 | #endif | 439 | #endif |
439 | void X509_VERIFY_PARAM_set_time(X509_VERIFY_PARAM *param, time_t t); | 440 | void X509_VERIFY_PARAM_set_time(X509_VERIFY_PARAM *param, time_t t); |
440 | int X509_VERIFY_PARAM_add0_policy(X509_VERIFY_PARAM *param, | 441 | int X509_VERIFY_PARAM_add0_policy(X509_VERIFY_PARAM *param, |