Lines Matching full:additional
530 * Merges "additional" options to "primary" and returns the result.
535 const struct sshauthopt *additional, const char **errstrp) in sshauthopt_merge() argument
553 tmp = additional->required_from_host_cert; in sshauthopt_merge()
558 tmp = additional->required_from_host_keys; in sshauthopt_merge()
568 ret->force_tun_device = additional->force_tun_device; in sshauthopt_merge()
573 } else if (additional->nenv) { in sshauthopt_merge()
575 additional->env, additional->nenv) != 0) in sshauthopt_merge()
582 } else if (additional->npermitopen > 0) { in sshauthopt_merge()
584 additional->permitopen, additional->npermitopen) != 0) in sshauthopt_merge()
592 } else if (additional->npermitlisten > 0) { in sshauthopt_merge()
594 additional->permitlisten, additional->npermitlisten) != 0) in sshauthopt_merge()
598 #define OPTFLAG_AND(x) ret->x = (primary->x == 1) && (additional->x == 1) in sshauthopt_merge()
599 #define OPTFLAG_OR(x) ret->x = (primary->x == 1) || (additional->x == 1) in sshauthopt_merge()
614 if (additional->valid_before != 0 && in sshauthopt_merge()
615 additional->valid_before < ret->valid_before) in sshauthopt_merge()
616 ret->valid_before = additional->valid_before; in sshauthopt_merge()
623 additional->force_command != NULL) { in sshauthopt_merge()
625 additional->force_command) == 0) { in sshauthopt_merge()
638 } else if (additional->force_command != NULL) { in sshauthopt_merge()
640 additional->force_command)) == NULL) in sshauthopt_merge()