Lines Matching defs:primary
569 * Merges "additional" options to "primary" and returns the result.
570 * NB. Some options from primary have primacy.
573 sshauthopt_merge(const struct sshauthopt *primary,
588 /* Prefer access lists from primary. */
590 tmp = primary->required_from_host_cert;
595 tmp = primary->required_from_host_keys;
603 * prefer the primary.
605 ret->force_tun_device = primary->force_tun_device;
608 if (primary->nenv > 0) {
610 primary->env, primary->nenv) != 0)
617 if (primary->npermitopen > 0) {
619 primary->permitopen, primary->npermitopen) != 0)
627 if (primary->npermitlisten > 0) {
629 primary->permitlisten, primary->npermitlisten) != 0)
638 #define OPTFLAG(x) ret->x = (primary->x == 1) && (additional->x == 1)
647 if (primary->valid_before != 0)
648 ret->valid_before = primary->valid_before;
657 if (primary->force_command != NULL &&
659 if (strcmp(primary->force_command,
662 ret->force_command = strdup(primary->force_command);
669 } else if (primary->force_command != NULL) {
671 primary->force_command)) == NULL)