Home | History | Annotate | Download | only in openssh

Lines Matching refs:authmethods

76 Authmethod *authmethods[] = {
419 for (i = 0; authmethods[i] != NULL; i++) {
420 if (strcmp(authmethods[i]->name, "none") == 0)
422 if (authmethods[i]->enabled == NULL ||
423 *(authmethods[i]->enabled) == 0)
425 if (!auth2_method_allowed(authctxt, authmethods[i]->name,
430 buffer_append(&b, authmethods[i]->name,
431 strlen(authmethods[i]->name));
445 for (i = 0; authmethods[i] != NULL; i++)
446 if (authmethods[i]->enabled != NULL &&
447 *(authmethods[i]->enabled) != 0 &&
448 strcmp(name, authmethods[i]->name) == 0 &&
450 authmethods[i]->name, NULL))
451 return authmethods[i];
475 for (found = i = 0; !found && authmethods[i] != NULL; i++) {
478 if (strcmp(method, authmethods[i]->name) != 0)
481 if (authmethods[i]->enabled == NULL ||
482 *(authmethods[i]->enabled) == 0) {