Changeset View
Changeset View
Standalone View
Standalone View
g10/keyedit.c
Context not available. | |||||
continue; | continue; | ||||
/* Now we can sign the user ids. */ | /* Now we can sign the user ids. */ | ||||
reloop: /* (Must use this, because we are modifing the list.) */ | reloop: /* (Must use this, because we are modifying the list.) */ | ||||
primary_pk = NULL; | primary_pk = NULL; | ||||
for (node = keyblock; node; node = node->next) | for (node = keyblock; node; node = node->next) | ||||
{ | { | ||||
Context not available. | |||||
&& pk->seckey_info->is_protected | && pk->seckey_info->is_protected | ||||
&& pk->seckey_info->s2k.mode == 1002) | && pk->seckey_info->s2k.mode == 1002) | ||||
{ | { | ||||
/* FIXME: Check wether this code path is still used. */ | /* FIXME: Check whether this code path is still used. */ | ||||
tty_fprintf (fp, "%*s%s", opt.legacy_list_mode? 21:5, "", | tty_fprintf (fp, "%*s%s", opt.legacy_list_mode? 21:5, "", | ||||
_("card-no: ")); | _("card-no: ")); | ||||
if (pk->seckey_info->ivlen == 16 | if (pk->seckey_info->ivlen == 16 | ||||
Context not available. | |||||
} | } | ||||
/* now we can sign the user ids */ | /* now we can sign the user ids */ | ||||
reloop: /* (must use this, because we are modifing the list) */ | reloop: /* (must use this, because we are modifying the list) */ | ||||
primary_pk = keyblock->pkt->pkt.public_key; | primary_pk = keyblock->pkt->pkt.public_key; | ||||
for (node = keyblock; node; node = node->next) | for (node = keyblock; node; node = node->next) | ||||
{ | { | ||||
Context not available. | |||||
if (!reason) | if (!reason) | ||||
return 0; /* User decided to cancel. */ | return 0; /* User decided to cancel. */ | ||||
reloop: /* (better this way because we are modifing the keyring) */ | reloop: /* (better this way because we are modifying the keyring) */ | ||||
mainpk = pub_keyblock->pkt->pkt.public_key; | mainpk = pub_keyblock->pkt->pkt.public_key; | ||||
for (node = pub_keyblock; node; node = node->next) | for (node = pub_keyblock; node; node = node->next) | ||||
{ | { | ||||
Context not available. |