From 519305feb888b529c005b40445d041a088a2f8fc Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 26 Aug 2014 17:47:22 +0200 Subject: Switch to the libgpg-error provided estream. * configure.ac (NEED_GPG_ERROR_VERSION): Reguire 1.14. (GPGRT_ENABLE_ES_MACROS): Define. (estream_INIT): Remove. * m4/estream.m4: Remove. * common/estream-printf.c, common/estream-printf.h: Remove. * common/estream.c, common/estream.h: Remove. * common/init.c (_init_common_subsystems): Call gpgrt initialization. --- scd/app-openpgp.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'scd/app-openpgp.c') 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 (); -- cgit v1.2.3