mirror of
git://git.gnupg.org/gnupg.git
synced 2024-06-06 23:17:47 +02:00
gpg: Unifiy the message for re-configuring cards.
* g10/card-util.c (ask_card_keyattr): Print "rsaNNNN". -- This is a separate patch from the previous to avoid string changes when backporting the other patch to 2.2. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
ea09b6cded
commit
922bae8082
|
@ -1381,8 +1381,12 @@ ask_card_keyattr (int keyno, unsigned int nbits)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
char name[30];
|
||||||
|
|
||||||
|
snprintf (name, sizeof name, "rsa%u", req_nbits);
|
||||||
tty_printf (_("The card will now be re-configured"
|
tty_printf (_("The card will now be re-configured"
|
||||||
" to generate a key of %u bits\n"), req_nbits);
|
" to generate a key of type: %s\n"),
|
||||||
|
name);
|
||||||
show_keysize_warning ();
|
show_keysize_warning ();
|
||||||
return req_nbits;
|
return req_nbits;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user