gpg: Allow for positional parameters in the passphrase prompt.
authorWerner Koch <wk@gnupg.org>
Tue, 26 Aug 2014 08:16:04 +0000 (10:16 +0200)
committerWerner Koch <wk@gnupg.org>
Tue, 26 Aug 2014 08:16:04 +0000 (10:16 +0200)
commita731c22952278c12c601b73d7581fda3a15a4b5b
tree1487c8fac152845476d75b855c186a86d2183399
parentcb680c5ea540738692a5c74951802b0fdc658e85
gpg: Allow for positional parameters in the passphrase prompt.

* g10/passphrase.c (passphrase_get): Replace sprintf by xasprintf.
--

Without that at least the French translation does not always work
because it requires positional parameters.  Windows for example does
not support them as they are not defined by C99 but by POSIX.
g10/passphrase.c