Home
last modified time | relevance | path

Searched refs:hostkeyalgorithms (Results 1 – 8 of 8) sorted by relevance

/freebsd-src/crypto/openssh/
H A Dreadconf.h69 char *hostkeyalgorithms; /* SSH2 server key types in order of preference. */ member
H A Dsshconnect2.c152 best = first_alg(options.hostkeyalgorithms); in order_hostkeyalgs()
158 ret = xstrdup(options.hostkeyalgorithms); in order_hostkeyalgs()
166 oavail = avail = xstrdup(options.hostkeyalgorithms); in order_hostkeyalgs()
240 if (options.hostkeyalgorithms == NULL || in ssh_kex2()
241 options.hostkeyalgorithms[0] == '-' || in ssh_kex2()
242 options.hostkeyalgorithms[0] == '+') in ssh_kex2()
247 if ((r = kex_assemble_names(&options.hostkeyalgorithms, in ssh_kex2()
258 hkalgs ? hkalgs : options.hostkeyalgorithms); in ssh_kex2()
H A Dservconf.h125 char *hostkeyalgorithms; /* SSH2 server key types */ member
H A Dreadconf.c1553 charptr = &options->hostkeyalgorithms; in process_config_line_depth()
2563 options->hostkeyalgorithms = NULL; in initialize_options()
2968 free(o->hostkeyalgorithms); in free_options()
3508 if ((r = kex_assemble_names(&o->hostkeyalgorithms, kex_default_pk_alg(), in dump_client_config()
3576 dump_cfg_string(oHostKeyAlgorithms, o->hostkeyalgorithms); in dump_client_config()
H A Dservconf.c129 options->hostkeyalgorithms = NULL; in initialize_server_options()
237 ASSEMBLE(hostkeyalgorithms, def_key, all_key); in assemble_algorithms()
1576 charptr = &options->hostkeyalgorithms; in process_server_config_line_depth()
3184 dump_cfg_string(sHostKeyAlgorithms, o->hostkeyalgorithms); in dump_config()
H A Dsshd.c609 if (match_pattern_list(s, options.hostkeyalgorithms, 0) != 1) {
H A Dclientloop.c2453 const char *hostkeyalgs = options.hostkeyalgorithms; in key_accepted_by_hostkeyalgs()
H A DChangeLog3441 mutates options.hostkeyalgorithms which renders the check ineffective.