Lines Matching refs:num_auth_methods
432 if (authenticated && options.num_auth_methods != 0) {
494 * NB. authctxt->num_auth_methods might be zero as a result of
497 if (options.num_auth_methods == 0)
499 for (i = 0; i < authctxt->num_auth_methods; i++) {
622 * leave authctxt->num_auth_methods == 0, even when multiple required auth
624 * enabled should consult options.num_auth_methods directly.
632 if (options.num_auth_methods == 1 &&
636 options.num_auth_methods = 0;
639 if (options.num_auth_methods == 0)
642 authctxt->auth_methods = xcalloc(options.num_auth_methods,
644 authctxt->num_auth_methods = 0;
645 for (i = 0; i < options.num_auth_methods; i++) {
653 authctxt->num_auth_methods, options.auth_methods[i]);
654 authctxt->auth_methods[authctxt->num_auth_methods++] =
657 if (authctxt->num_auth_methods == 0) {
730 for (i = 0; i < authctxt->num_auth_methods; i++) {