Lines Matching refs:num_auth_methods
318 if (authenticated && options.num_auth_methods != 0) { in userauth_finish()
401 if (options.num_auth_methods == 0) in auth2_method_allowed()
403 for (i = 0; i < authctxt->num_auth_methods; i++) { in auth2_method_allowed()
516 if (options.num_auth_methods == 0) in auth2_setup_methods_lists()
519 authctxt->auth_methods = xcalloc(options.num_auth_methods, in auth2_setup_methods_lists()
521 authctxt->num_auth_methods = 0; in auth2_setup_methods_lists()
522 for (i = 0; i < options.num_auth_methods; i++) { in auth2_setup_methods_lists()
530 authctxt->num_auth_methods, options.auth_methods[i]); in auth2_setup_methods_lists()
531 authctxt->auth_methods[authctxt->num_auth_methods++] = in auth2_setup_methods_lists()
534 if (authctxt->num_auth_methods == 0) { in auth2_setup_methods_lists()
607 for (i = 0; i < authctxt->num_auth_methods; i++) { in auth2_update_methods_lists()