Lines Matching refs:ret
122 int ret;
159 ret = (*ops->init)(context, c, &c->ops_data, flags, residue, lock);
160 if (ret) {
162 return ret;
258 int ret;
267 ret = (*certs->ops->iter_start)(context, certs, certs->ops_data, cursor);
268 if (ret)
269 return ret;
344 int ret;
346 ret = hx509_certs_start_seq(context, certs, &cursor);
347 if (ret)
348 return ret;
351 ret = hx509_certs_next_cert(context, certs, cursor, &c);
352 if (ret)
355 ret = 0;
358 ret = (*func)(context, ctx, c);
360 if (ret)
366 return ret;
503 int ret;
512 ret = hx509_certs_start_seq(context, certs, &cursor);
513 if (ret)
514 return ret;
518 ret = hx509_certs_next_cert(context, certs, cursor, &c);
519 if (ret)
531 if (ret)
532 return ret;
567 int ret, found = 0;
571 ret = hx509_certs_init(context, "MEMORY:filter-certs", 0,
573 if (ret)
574 return ret;
576 ret = hx509_certs_start_seq(context, certs, &cursor);
577 if (ret) {
579 return ret;
584 ret = hx509_certs_next_cert(context, certs, cursor, &c);
585 if (ret)
597 if (ret) {
599 return ret;
665 int ret;
667 ret = hx509_certs_init(context, name, 0, lock, &s);
668 if (ret)
669 return ret;
670 ret = hx509_certs_merge(context, to, s);
672 return ret;
691 int ret;
695 ret = hx509_certs_start_seq(context, certs, &cursor);
696 if (ret)
697 return ret;
699 ret = hx509_certs_next_cert(context, certs, cursor, c);
700 if (ret)
701 return ret;