Home
last modified time | relevance | path

Searched refs:num_auth_methods (Results 1 – 7 of 7) sorted by relevance

/src/crypto/openssh/
H A Dauth2.c392 if (authenticated && options.num_auth_methods != 0) { in userauth_finish()
481 if (options.num_auth_methods == 0) in auth2_method_allowed()
483 for (i = 0; i < authctxt->num_auth_methods; i++) { in auth2_method_allowed()
569 if (options.num_auth_methods == 1 && in auth2_setup_methods_lists()
573 options.num_auth_methods = 0; in auth2_setup_methods_lists()
576 if (options.num_auth_methods == 0) in auth2_setup_methods_lists()
579 authctxt->auth_methods = xcalloc(options.num_auth_methods, in auth2_setup_methods_lists()
581 authctxt->num_auth_methods = 0; in auth2_setup_methods_lists()
582 for (i = 0; i < options.num_auth_methods; i++) { in auth2_setup_methods_lists()
590 authctxt->num_auth_methods, options.auth_methods[i]); in auth2_setup_methods_lists()
[all …]
H A Dservconf.h237 u_int num_auth_methods; member
313 M_CP_STRARRAYOPT(auth_methods, num_auth_methods); \
H A Dauth.h71 u_int num_auth_methods; member
H A Dsshd-session.c1100 if (options.num_auth_methods != 0) { in main()
1101 for (i = 0; i < options.num_auth_methods; i++) { in main()
1106 if (i >= options.num_auth_methods) in main()
H A Dsshd.c1620 if (options.num_auth_methods != 0) { in main()
1621 for (i = 0; i < options.num_auth_methods; i++) { in main()
1626 if (i >= options.num_auth_methods) in main()
H A Dservconf.c550 CLEAR_ON_NONE_ARRAY(auth_methods, num_auth_methods, "any"); in fill_default_server_options()
2602 found = options->num_auth_methods == 0; in process_server_config_line_depth()
2628 options->num_auth_methods = nstrs; in process_server_config_line_depth()
3353 o->num_auth_methods, o->auth_methods); in dump_config()
H A Dmonitor.c314 if (options.num_auth_methods != 0) { in monitor_child_preauth()