Searched refs:X509_VERIFY_MAX_CHAIN_CERTS (Results 1 - 2 of 2) sorted by relevance

/openbsd-current/lib/libcrypto/x509/
H A Dx509_internal.h29 #define X509_VERIFY_MAX_CHAIN_CERTS 32 /* Max depth of a chain */ macro
H A Dx509_verify.c95 if ((chain->cert_errors = calloc(X509_VERIFY_MAX_CHAIN_CERTS,
137 if ((new_chain->cert_errors = calloc(X509_VERIFY_MAX_CHAIN_CERTS,
141 X509_VERIFY_MAX_CHAIN_CERTS * sizeof(int));
455 ctx->xsc->error_depth >= X509_VERIFY_MAX_CHAIN_CERTS)
974 max_depth = X509_VERIFY_MAX_CHAIN_CERTS;
975 if (xsc->param->depth > 0 && xsc->param->depth < X509_VERIFY_MAX_CHAIN_CERTS)
1004 ctx->max_depth = X509_VERIFY_MAX_CHAIN_CERTS;
1031 if (max < 1 || max > X509_VERIFY_MAX_CHAIN_CERTS)

Completed in 175 milliseconds