mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01: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
|
||||
{
|
||||
char name[30];
|
||||
|
||||
snprintf (name, sizeof name, "rsa%u", req_nbits);
|
||||
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 ();
|
||||
return req_nbits;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user