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 | |
| 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')
| -rw-r--r-- | src/lib/libcrypto/x509/vpm_int.h | 13 | ||||
| -rw-r--r-- | src/lib/libcrypto/x509/x509_local.h | 13 |
2 files changed, 13 insertions, 13 deletions
diff --git a/src/lib/libcrypto/x509/vpm_int.h b/src/lib/libcrypto/x509/vpm_int.h index 7fc9fef761..d50c5e46fd 100644 --- a/src/lib/libcrypto/x509/vpm_int.h +++ b/src/lib/libcrypto/x509/vpm_int.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: vpm_int.h,v 1.4 2018/04/06 07:08:20 beck Exp $ */ | 1 | /* $OpenBSD: vpm_int.h,v 1.5 2023/04/16 18:42:30 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project | 3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project |
| 4 | * 2013. | 4 | * 2013. |
| @@ -61,15 +61,4 @@ __BEGIN_HIDDEN_DECLS | |||
| 61 | 61 | ||
| 62 | /* internal only structure to hold additional X509_VERIFY_PARAM data */ | 62 | /* internal only structure to hold additional X509_VERIFY_PARAM data */ |
| 63 | 63 | ||
| 64 | struct X509_VERIFY_PARAM_ID_st { | ||
| 65 | STACK_OF(OPENSSL_STRING) *hosts; /* Set of acceptable names */ | ||
| 66 | unsigned int hostflags; /* Flags to control matching features */ | ||
| 67 | char *peername; /* Matching hostname in peer certificate */ | ||
| 68 | char *email; /* If not NULL email address to match */ | ||
| 69 | size_t emaillen; | ||
| 70 | unsigned char *ip; /* If not NULL IP address to match */ | ||
| 71 | size_t iplen; /* Length of IP address */ | ||
| 72 | int poisoned; | ||
| 73 | }; | ||
| 74 | |||
| 75 | __END_HIDDEN_DECLS | 64 | __END_HIDDEN_DECLS |
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); |
