summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509_local.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/x509/x509_local.h')
-rw-r--r--src/lib/libcrypto/x509/x509_local.h13
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
373struct 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
373int x509_check_cert_time(X509_STORE_CTX *ctx, X509 *x, int quiet); 384int x509_check_cert_time(X509_STORE_CTX *ctx, X509 *x, int quiet);
374 385
375int name_cmp(const char *name, const char *cmp); 386int name_cmp(const char *name, const char *cmp);