x509_verify_ctx_set_max_depth
if (!x509_verify_ctx_set_max_depth(ctx, max_depth))
int x509_verify_ctx_set_max_depth(X509_VERIFY_CTX *ctx, size_t max);
if (!x509_verify_ctx_set_max_depth(ctx, set_depth))