Lines Matching defs:ret
118 int i, ret;
134 ret = xtmp != NULL;
135 if (ret) {
137 ret = -1;
142 return ret;
263 int ret;
295 ret = DANETLS_ENABLED(ctx->dane) ? dane_verify(ctx) : verify_chain(ctx);
302 if (ret <= 0 && ctx->error == X509_V_OK)
304 return ret;
455 int ret, proxy_path_length = 0;
486 ret = X509_check_ca(x);
490 && ret != 1 && ret != 0,
494 CB_FAIL_IF(ret != 0, ctx, x, i, X509_V_ERR_INVALID_NON_CA);
498 CB_FAIL_IF(ret == 0
501 && ret != 1), ctx, x, i, X509_V_ERR_INVALID_CA);
506 ret = check_curve(x);
507 CB_FAIL_IF(ret < 0, ctx, x, i, X509_V_ERR_UNSPECIFIED);
508 CB_FAIL_IF(ret == 0, ctx, x, i, X509_V_ERR_EC_KEY_EXPLICIT_PARAMS);
627 int ret = 0;
637 ret = 1;
642 return ret;
737 int ret = 1;
745 || (ret = has_san_id(x, GEN_DNS)) == 0))
747 if (ret < 0)
748 return ret;
1322 int ret;
1338 ret = X509_verify_cert(&crl_ctx);
1339 if (ret <= 0)
1343 ret = check_crl_chain(ctx, ctx->chain, crl_ctx.chain);
1346 return ret;
1633 int ret;
1650 ret = X509_policy_check(&ctx->tree, &ctx->explicit_policy, ctx->chain,
1655 if (ret == X509_PCY_TREE_INTERNAL)
1658 if (ret == X509_PCY_TREE_INVALID) {
1678 if (ret == X509_PCY_TREE_FAILURE) {
1683 if (ret != X509_PCY_TREE_VALID) {
1817 int ret = xs == xi && (xi->ex_flags & EXFLAG_CA) == 0
1820 CB_FAIL_IF(ret != X509_V_OK, ctx, xi, issuer_depth, ret);
1863 int i, day, sec, ret = 0;
1921 ret = (day >= 0 && sec >= 0) ? -1 : 1;
1925 return ret;
3421 int ret, val;
3423 ret = EVP_PKEY_get_int_param(pkey,
3426 return ret == 1 ? !val : -1;