diff options
| author | tb <> | 2023-04-16 18:42:30 +0000 |
|---|---|---|
| committer | tb <> | 2023-04-16 18:42:30 +0000 |
| commit | ce4b23056fd162d342dba2a2c7990557cceae181 (patch) | |
| tree | ea2522aa9ce34924692861107efecc3e998cd3d1 /src/lib/libcrypto/x509/x509_local.h | |
| parent | 4b973a635aefcde8476827db5990f5afeb2f858a (diff) | |
| download | openbsd-ce4b23056fd162d342dba2a2c7990557cceae181.tar.gz openbsd-ce4b23056fd162d342dba2a2c7990557cceae181.tar.bz2 openbsd-ce4b23056fd162d342dba2a2c7990557cceae181.zip | |
Move X509_VERIFY_PARAM_st from vpm_int.h to x509_local.h
Diffstat (limited to 'src/lib/libcrypto/x509/x509_local.h')
| -rw-r--r-- | src/lib/libcrypto/x509/x509_local.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509_local.h b/src/lib/libcrypto/x509/x509_local.h index 6792a3c5b8..043fc2dacf 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.3 2023/04/16 08:08:34 tb Exp $ */ | 1 | /* $OpenBSD: x509_local.h,v 1.4 2023/04/16 18:42:30 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 | */ |
| @@ -370,6 +370,17 @@ struct x509_store_ctx_st { | |||
| 370 | CRYPTO_EX_DATA ex_data; | 370 | CRYPTO_EX_DATA ex_data; |
| 371 | } /* X509_STORE_CTX */; | 371 | } /* X509_STORE_CTX */; |
| 372 | 372 | ||
| 373 | struct X509_VERIFY_PARAM_ID_st { | ||
| 374 | STACK_OF(OPENSSL_STRING) *hosts; /* Set of acceptable names */ | ||
| 375 | unsigned int hostflags; /* Flags to control matching features */ | ||
| 376 | char *peername; /* Matching hostname in peer certificate */ | ||
| 377 | char *email; /* If not NULL email address to match */ | ||
| 378 | size_t emaillen; | ||
| 379 | unsigned char *ip; /* If not NULL IP address to match */ | ||
| 380 | size_t iplen; /* Length of IP address */ | ||
| 381 | int poisoned; | ||
| 382 | }; | ||
| 383 | |||
| 373 | int x509_check_cert_time(X509_STORE_CTX *ctx, X509 *x, int quiet); | 384 | int x509_check_cert_time(X509_STORE_CTX *ctx, X509 *x, int quiet); |
| 374 | 385 | ||
| 375 | int name_cmp(const char *name, const char *cmp); | 386 | int name_cmp(const char *name, const char *cmp); |
