aboutsummaryrefslogtreecommitdiffstats
path: root/scd/app-openpgp.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--scd/app-openpgp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/scd/app-openpgp.c b/scd/app-openpgp.c
index fff097adb..9b4ab2220 100644
--- a/scd/app-openpgp.c
+++ b/scd/app-openpgp.c
@@ -1448,9 +1448,8 @@ get_public_key (app_t app, int keyno)
}
hexkeyid = fpr + 24;
- ret = estream_asprintf (&command,
- "gpg --list-keys --with-colons --with-key-data '%s'",
- fpr);
+ ret = gpgrt_asprintf
+ (&command, "gpg --list-keys --with-colons --with-key-data '%s'", fpr);
if (ret < 0)
{
err = gpg_error_from_syserror ();