Lines Matching refs:dir

65 static	dki_t	*genkey (dki_t **listp, const char *dir, const char *domain, int ksk, const zconf_t *conf, int status)
73 dkp = dki_new (dir, domain, DKI_KSK, conf->k_algo, conf->k_bits, conf->k_random, conf->k_life / DAYSEC);
75 dkp = dki_new (dir, domain, DKI_ZSK, conf->k_algo, conf->z_bits, conf->z_random, conf->z_life / DAYSEC);
82 static dki_t *genkey2 (dki_t **listp, const char *dir, const char *domain, int ksk, const zconf_t *conf, int status)
90 dkp = dki_new (dir, domain, DKI_KSK, conf->k2_algo, conf->k_bits, conf->k_random, conf->k_life / DAYSEC);
92 dkp = dki_new (dir, domain, DKI_ZSK, conf->k2_algo, conf->z_bits, conf->z_random, conf->z_life / DAYSEC);
129 snprintf (path, sizeof (path), "%s/../%s", zp->dir, LOCALCONF_FILE);
130 if ( fileexist (path) ) /* parent dir has local config file ? */
136 snprintf (path, sizeof (path), "%s/../%s.signed", conf->dir, conf->zonefile);
144 * used in the parent dir (see above)
150 snprintf (path, sizeof (path), "%s/../%s", zp->dir, "zone.db.signed");
166 snprintf (path, sizeof (path), "%s/%s", parent->dir, parent->sfile);
168 snprintf (path, sizeof (path), "%s/../%s", zp->dir, zp->sfile);
173 return fileexist (path); /* parent dir has zone.db.signed file ? */
250 pathname (path, sizeof (path), zp->dir, "parent-", zp->zone);
260 ksk = genkey (&zp->keys, zp->dir, zp->zone, DKI_KSK, z, DKI_ACTIVE);
364 int ksk5011status (dki_t **listp, const char *dir, const char *domain, const zconf_t *z)
437 dkp = genkey (listp, dir, domain, DKI_KSK, z, DKI_PUBLISHED); /* gentime == now; lifetime = z->k_life; exp = 0 */
487 akey = genkey (&zp->keys, zp->dir, zp->zone, DKI_KSK, z, DKI_ACTIVE);
509 akey = genkey2 (&zp->keys, zp->dir, zp->zone, DKI_KSK, z, DKI_ACTIVE);
532 int zskstatus (dki_t **listp, const char *dir, const char *domain, const zconf_t *z)
543 /* dir can be NULL */
587 akey = genkey (listp, dir, domain, DKI_ZSK, z, DKI_ACTIVE);
640 nextkey = genkey (listp, dir, domain, DKI_ZSK, z, DKI_PUB);
663 akey = genkey2 (listp, dir, domain, DKI_ZSK, z, DKI_ACTIVE);