Lines Matching refs:num_auth_methods
389 if (authenticated && options.num_auth_methods != 0) {
471 * NB. authctxt->num_auth_methods might be zero as a result of
474 if (options.num_auth_methods == 0)
476 for (i = 0; i < authctxt->num_auth_methods; i++) {
580 * leave authctxt->num_auth_methods == 0, even when multiple required auth
582 * enabled should consult options.num_auth_methods directly.
589 if (options.num_auth_methods == 0)
592 authctxt->auth_methods = xcalloc(options.num_auth_methods,
594 authctxt->num_auth_methods = 0;
595 for (i = 0; i < options.num_auth_methods; i++) {
603 authctxt->num_auth_methods, options.auth_methods[i]);
604 authctxt->auth_methods[authctxt->num_auth_methods++] =
607 if (authctxt->num_auth_methods == 0) {
680 for (i = 0; i < authctxt->num_auth_methods; i++) {