diff options
| author | beck <> | 2021-08-19 03:44:00 +0000 |
|---|---|---|
| committer | beck <> | 2021-08-19 03:44:00 +0000 |
| commit | 3b5f7f2deeb8133ab932229a210a97daf715b5f1 (patch) | |
| tree | 1329511d1aa6b33cd3f48ec007990cdf78af765f /src/lib/libcrypto/x509/x509_internal.h | |
| parent | 18b9c1bcab7c37d8c5bd05b8e0d14d0c59d96650 (diff) | |
| download | openbsd-3b5f7f2deeb8133ab932229a210a97daf715b5f1.tar.gz openbsd-3b5f7f2deeb8133ab932229a210a97daf715b5f1.tar.bz2 openbsd-3b5f7f2deeb8133ab932229a210a97daf715b5f1.zip | |
Pull roots out of the trust store in the legacy xsc when building chains
to handly by_dir and fun things correctly. - fixes dlg@'s case and
by_dir regress in openssl-ruby
ok jsing@
Diffstat (limited to 'src/lib/libcrypto/x509/x509_internal.h')
| -rw-r--r-- | src/lib/libcrypto/x509/x509_internal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509_internal.h b/src/lib/libcrypto/x509/x509_internal.h index 7160053a8a..493bf82ac8 100644 --- a/src/lib/libcrypto/x509/x509_internal.h +++ b/src/lib/libcrypto/x509/x509_internal.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: x509_internal.h,v 1.8 2021/07/10 15:52:59 beck Exp $ */ | 1 | /* $OpenBSD: x509_internal.h,v 1.9 2021/08/19 03:44:00 beck Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2020 Bob Beck <beck@openbsd.org> | 3 | * Copyright (c) 2020 Bob Beck <beck@openbsd.org> |
| 4 | * | 4 | * |
| @@ -92,6 +92,7 @@ int x509_vfy_check_policy(X509_STORE_CTX *ctx); | |||
| 92 | int x509_vfy_check_trust(X509_STORE_CTX *ctx); | 92 | int x509_vfy_check_trust(X509_STORE_CTX *ctx); |
| 93 | int x509_vfy_check_chain_extensions(X509_STORE_CTX *ctx); | 93 | int x509_vfy_check_chain_extensions(X509_STORE_CTX *ctx); |
| 94 | void x509v3_cache_extensions(X509 *x); | 94 | void x509v3_cache_extensions(X509 *x); |
| 95 | X509 *x509_vfy_lookup_cert_match(X509_STORE_CTX *ctx, X509 *x); | ||
| 95 | 96 | ||
| 96 | int x509_verify_asn1_time_to_tm(const ASN1_TIME *atime, struct tm *tm, | 97 | int x509_verify_asn1_time_to_tm(const ASN1_TIME *atime, struct tm *tm, |
| 97 | int notafter); | 98 | int notafter); |
