Lines Matching refs:num_auth_methods
374 if (authenticated && options.num_auth_methods != 0) { in userauth_finish()
463 if (options.num_auth_methods == 0) in auth2_method_allowed()
465 for (i = 0; i < authctxt->num_auth_methods; i++) { in auth2_method_allowed()
579 if (options.num_auth_methods == 1 && in auth2_setup_methods_lists()
583 options.num_auth_methods = 0; in auth2_setup_methods_lists()
586 if (options.num_auth_methods == 0) in auth2_setup_methods_lists()
589 authctxt->auth_methods = xcalloc(options.num_auth_methods, in auth2_setup_methods_lists()
591 authctxt->num_auth_methods = 0; in auth2_setup_methods_lists()
592 for (i = 0; i < options.num_auth_methods; i++) { in auth2_setup_methods_lists()
600 authctxt->num_auth_methods, options.auth_methods[i]); in auth2_setup_methods_lists()
601 authctxt->auth_methods[authctxt->num_auth_methods++] = in auth2_setup_methods_lists()
604 if (authctxt->num_auth_methods == 0) { in auth2_setup_methods_lists()
677 for (i = 0; i < authctxt->num_auth_methods; i++) { in auth2_update_methods_lists()