• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/x509/

Lines Matching defs:ok

73 static int null_callback(int ok,X509_STORE_CTX *e);
85 static int null_callback(int ok, X509_STORE_CTX *e)
87 return ok;
103 int depth,i,ok=0;
199 ok = ctx->get_issuer(&xtmp, ctx, x);
200 if ((ok <= 0) || X509_cmp(x, xtmp))
205 if (ok == 1) X509_free(xtmp);
207 ok=cb(0,ctx);
208 if (!ok) goto end;
241 ok = ctx->get_issuer(&xtmp, ctx, x);
243 if (ok < 0) return ok;
244 if (ok == 0) break;
283 ok=cb(0,ctx);
284 if (!ok) goto end;
288 ok = check_chain_extensions(ctx);
290 if (!ok) goto end;
294 if (param->trust > 0) ok = check_trust(ctx);
296 if (!ok) goto end;
305 ok = ctx->check_revocation(ctx);
306 if(!ok) goto end;
310 ok=ctx->verify(ctx);
312 ok=internal_verify(ctx);
313 if(!ok) goto end;
317 ok = v3_asid_validate_path(ctx);
318 if (!ok) goto end;
319 ok = v3_addr_validate_path(ctx);
320 if (!ok) goto end;
325 ok = ctx->check_policy(ctx);
326 if(!ok) goto end;
334 return ok;
397 int i, ok=0, must_be_ca;
431 ok=cb(0,ctx);
432 if (!ok) goto end;
439 ok=cb(0,ctx);
440 if (!ok) goto end;
480 ok=cb(0,ctx);
481 if (!ok) goto end;
494 ok=cb(0,ctx);
495 if (!ok) goto end;
505 ok=cb(0,ctx);
506 if (!ok) goto end;
520 ok=cb(0,ctx);
521 if (!ok) goto end;
529 ok = 1;
531 return ok;
540 int i, ok;
547 ok = X509_check_trust(x, ctx->param->trust, 0);
548 if (ok == X509_TRUST_TRUSTED)
552 if (ok == X509_TRUST_REJECTED)
556 ok = cb(0, ctx);
557 return ok;
563 int i, last, ok;
573 ok = check_cert(ctx);
574 if (!ok) return ok;
583 int ok, cnum;
588 ok = ctx->get_crl(ctx, &crl, x);
592 if(!ok)
595 ok = ctx->verify_cb(0, ctx);
599 ok = ctx->check_crl(ctx, crl);
600 if (!ok) goto err;
601 ok = ctx->cert_crl(ctx, crl, x);
605 return ok;
699 int ok;
704 ok = get_crl_sk(ctx, &crl, nm, ctx->crls);
705 if (ok)
711 ok = X509_STORE_get_by_subject(ctx, X509_LU_CRL, nm, &xobj);
713 if (!ok)
735 int ok = 0, chnum, cnum;
750 ok = ctx->verify_cb(0, ctx);
751 if(!ok) goto err;
762 ok = ctx->verify_cb(0, ctx);
763 if(!ok) goto err;
772 ok = ctx->verify_cb(0, ctx);
773 if (!ok) goto err;
781 ok = ctx->verify_cb(0, ctx);
782 if (!ok) goto err;
787 ok = check_crl_time(ctx, crl, 1);
788 if (!ok)
791 ok = 1;
795 return ok;
801 int idx, ok;
823 ok = ctx->verify_cb(0, ctx);
824 if (!ok) return 0;
846 ok = ctx->verify_cb(0, ctx);
847 if(!ok) return 0;
950 int ok=0,n;
970 ok=cb(0,ctx);
991 ok=(*cb)(0,ctx);
992 if (!ok) goto end;
1005 ok=(*cb)(0,ctx);
1006 if (!ok)
1018 ok = check_cert_time(ctx, xs);
1019 if (!ok)
1025 ok=(*cb)(1,ctx);
1026 if (!ok) goto end;
1035 ok=1;
1037 return ok;