1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-10-31 20:08:43 +01:00

agent: Improve "Insert the card" message.

* agent/findkey.c (prompt_for_card): Don't print "(null").
This commit is contained in:
Werner Koch 2022-06-17 12:23:40 +02:00
parent 2766b9e56c
commit be5d06dae2
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -1064,7 +1064,8 @@ prompt_for_card (ctrl_t ctrl, const unsigned char *grip,
" %s%%0A" " %s%%0A"
" %s", " %s",
L_("Please insert the card with serial number"), L_("Please insert the card with serial number"),
want_sn ? want_sn : "", comment) < 0) want_sn ? want_sn : "",
comment? comment:"") < 0)
err = out_of_core (); err = out_of_core ();
else else
{ {