Home
last modified time | relevance | path

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

/freebsd-12.1/crypto/openssh/
H A Dauth2.c391 if (authenticated && options.num_auth_methods != 0) { in userauth_finish()
476 if (options.num_auth_methods == 0) in auth2_method_allowed()
478 for (i = 0; i < authctxt->num_auth_methods; i++) { in auth2_method_allowed()
591 if (options.num_auth_methods == 0) in auth2_setup_methods_lists()
594 authctxt->auth_methods = xcalloc(options.num_auth_methods, in auth2_setup_methods_lists()
596 authctxt->num_auth_methods = 0; in auth2_setup_methods_lists()
597 for (i = 0; i < options.num_auth_methods; i++) { in auth2_setup_methods_lists()
605 authctxt->num_auth_methods, options.auth_methods[i]); in auth2_setup_methods_lists()
606 authctxt->auth_methods[authctxt->num_auth_methods++] = in auth2_setup_methods_lists()
609 if (authctxt->num_auth_methods == 0) { in auth2_setup_methods_lists()
[all …]
H A Dservconf.h206 u_int num_auth_methods; member
254 M_CP_STRARRAYOPT(auth_methods, num_auth_methods); \
H A Dauth.h71 u_int num_auth_methods; member
H A Dservconf.c453 if (options->num_auth_methods == 1 && in fill_default_server_options()
457 options->num_auth_methods = 0; in fill_default_server_options()
2079 if (options->num_auth_methods == 0) { in process_server_config_line()
2084 if (options->num_auth_methods > 0) { in process_server_config_line()
2106 &options->num_auth_methods, arg); in process_server_config_line()
2654 o->num_auth_methods, o->auth_methods); in dump_config()
H A Dsshd.c1734 if (options.num_auth_methods != 0) {
1735 for (i = 0; i < options.num_auth_methods; i++) {
1740 if (i >= options.num_auth_methods)
H A Dmonitor.c309 if (options.num_auth_methods != 0) { in monitor_child_preauth()