Lines Matching defs:conf
135 static void createkey (const char *keyname, const dki_t *list, const zconf_t *conf);
136 static void ksk_roll (const char *keyname, int phase, const dki_t *list, const zconf_t *conf);
310 fprintf (stderr, "The use of -Z is deprecated. Please use zkt-conf instead\n");
486 static void createkey (const char *keyname, const dki_t *list, const zconf_t *conf)
506 memcpy (&localconf, conf, sizeof (zconf_t));
507 conf = loadconfig (path, &localconf);
512 dkp = dki_new (dir, keyname, DKI_ZSK, conf->k_algo, conf->z_bits, conf->z_random, conf->z_life / DAYSEC);
514 dkp = dki_new (dir, keyname, DKI_KSK, conf->k_algo, conf->k_bits, conf->k_random, conf->k_life / DAYSEC);
538 static void ksk_roll (const char *keyname, int phase, const dki_t *list, const zconf_t *conf)
600 memcpy (&localconf, conf, sizeof (zconf_t));
601 conf = loadconfig (path, &localconf);
603 key_ttl = conf->key_ttl;
651 dkp = dki_new (dir, keyname, DKI_KSK, conf->k_algo, conf->k_bits, conf->k_random, conf->k_life / DAYSEC);
661 if ( (dkp = (dki_t *)dki_findalgo (keylist, 1, conf->k_algo, 'a', 1)) == NULL ) /* find the oldest active ksk to create the parent file */
674 if ( parent_age < conf->proptime + key_ttl )
676 conf->proptime + key_ttl - parent_age,
677 str_delspace (age2str (conf->proptime + key_ttl - parent_age)));