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:44 +0000 (10:16 +0200)
commitc45b9819e8f4b35681c91ffb67abdc38dcc32a2a
tree2b0f56c9dd75ea937eb23a8d1f9c27d85bfce660
parentee30bb945f316f2e3bba64fc1f006d7ce19cd1b7
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