Lines Matching refs:retval

199     krb5_error_code retval;
210 retval = EINVAL;
220 retval = EINVAL;
253 retval = EINVAL;
258 retval = 0;
260 pkiDebug("%s: returning %d\n", __FUNCTION__, retval);
261 return retval;
270 krb5_error_code retval;
294 retval = ENOENT;
302 retval = ENOMEM;
339 retval = EINVAL;
345 retval = ENOMEM;
359 retval = ret;
364 retval = ENOMEM;
368 retval = parse_list_value(context, rc->kw_type, value, rc);
369 if (retval) {
371 __FUNCTION__, retval, kw->value);
377 retval = 0;
381 if (retval && rc != NULL)
383 pkiDebug("%s: returning %d\n", __FUNCTION__, retval);
384 return retval;
396 krb5_error_code ret, retval;
409 retval = ENOMEM;
434 retval = ret;
456 retval = 0;
458 if (retval && rs != NULL) {
461 pkiDebug("%s: returning %d\n", __FUNCTION__, retval);
462 return retval;
566 krb5_error_code retval;
634 retval = 0;
637 __FUNCTION__, retval, *match_found);
638 return retval;
645 krb5_error_code retval;
654 retval = crypto_cert_free_matching_data(context, md);
655 if (retval) {
657 __FUNCTION__, retval, error_message(retval));
660 retval = crypto_cert_release(context, ch);
661 if (retval) {
663 __FUNCTION__, retval, error_message(retval));
668 retval = 0;
671 return retval;
681 krb5_error_code retval;
687 retval = crypto_cert_get_count(context, plg_cryptoctx, req_cryptoctx,
689 if (retval) {
691 __FUNCTION__, retval, error_message(retval));
702 retval = crypto_cert_iteration_begin(context, plg_cryptoctx, req_cryptoctx,
704 if (retval) {
706 __FUNCTION__, retval, error_message(retval));
711 retval = crypto_cert_iteration_next(context, ih, &ch);
712 if (retval) {
713 if (retval == PKINIT_ITER_NO_MORE)
719 __FUNCTION__, retval, error_message(retval));
723 retval = crypto_cert_get_matching_data(context, ch, &matchdata[i]);
724 if (retval) {
726 __FUNCTION__, retval, error_message(retval));
733 retval = 0;
738 if (retval) {
743 __FUNCTION__, retval, *all_matching_data);
744 return retval;
756 krb5_error_code retval = KRB5KDC_ERR_PREAUTH_FAILED;
770 retval = crypto_cert_select_default(context, plg_cryptoctx,
773 retval = 0;
786 retval = parse_rule_set(context, rules[x], &rs);
787 if (retval) {
788 if (retval == EINVAL) {
802 retval = obtain_all_cert_matching_data(context, plg_cryptoctx,
805 if (retval || matchdata == NULL) {
807 __FUNCTION__, retval);
808 retval = ENOENT;
813 retval = check_all_certs(context, plg_cryptoctx, req_cryptoctx,
816 if (retval) {
818 __FUNCTION__, retval, rules[x]);
831 retval = crypto_cert_select(context, the_matching_cert);
832 if (retval) {
834 __FUNCTION__, retval, error_message(retval));
839 retval = ENOENT; /* XXX */
843 retval = 0;
852 return retval;