mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Import/export of pkcs#12 now uses the gpg-agent directly.
Removed duplicated code (percent unescaping).
This commit is contained in:
parent
98e1a75e20
commit
f8b4cd7650
29 changed files with 716 additions and 369 deletions
|
@ -453,8 +453,9 @@ ask_passphrase (const char *description,
|
|||
{
|
||||
if (strchr (description, '%'))
|
||||
{
|
||||
char *tmp = unescape_percent_string
|
||||
((const unsigned char*)description);
|
||||
char *tmp = percent_plus_unescape (description, 0xff);
|
||||
if (!tmp)
|
||||
log_fatal(_("out of core\n"));
|
||||
tty_printf ("\n%s\n", tmp);
|
||||
xfree (tmp);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue