diff options
Diffstat (limited to 'src/lib/libcrypto/x509/x509_local.h')
-rw-r--r-- | src/lib/libcrypto/x509/x509_local.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509_local.h b/src/lib/libcrypto/x509/x509_local.h index 4ac99da2bd..342aa226fb 100644 --- a/src/lib/libcrypto/x509/x509_local.h +++ b/src/lib/libcrypto/x509/x509_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_local.h,v 1.20 2024/03/02 10:20:27 tb Exp $ */ | 1 | /* $OpenBSD: x509_local.h,v 1.21 2024/03/02 10:40:05 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 2013. | 3 | * project 2013. |
4 | */ | 4 | */ |
@@ -59,6 +59,8 @@ | |||
59 | #ifndef HEADER_X509_LOCAL_H | 59 | #ifndef HEADER_X509_LOCAL_H |
60 | #define HEADER_X509_LOCAL_H | 60 | #define HEADER_X509_LOCAL_H |
61 | 61 | ||
62 | #include <openssl/x509v3.h> | ||
63 | |||
62 | __BEGIN_HIDDEN_DECLS | 64 | __BEGIN_HIDDEN_DECLS |
63 | 65 | ||
64 | #define TS_HASH_EVP EVP_sha1() | 66 | #define TS_HASH_EVP EVP_sha1() |
@@ -402,6 +404,9 @@ X509_ALGOR *PKCS5_pbe_set(int alg, int iter, const unsigned char *salt, | |||
402 | X509_ALGOR *PKCS5_pbkdf2_set(int iter, unsigned char *salt, int saltlen, | 404 | X509_ALGOR *PKCS5_pbkdf2_set(int iter, unsigned char *salt, int saltlen, |
403 | int prf_nid, int keylen); | 405 | int prf_nid, int keylen); |
404 | 406 | ||
407 | int X509_PURPOSE_get_by_id(int id); | ||
408 | int X509_PURPOSE_get_trust(const X509_PURPOSE *xp); | ||
409 | |||
405 | __END_HIDDEN_DECLS | 410 | __END_HIDDEN_DECLS |
406 | 411 | ||
407 | #endif /* !HEADER_X509_LOCAL_H */ | 412 | #endif /* !HEADER_X509_LOCAL_H */ |