core: Call _gpgme_passphrase_status_handler when exporting keys.

* src/export.c (export_status_handler): Call the handler.

--

Fixes-commit: 3382ecb17e
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2020-11-24 14:56:28 +09:00
parent a5c4b03025
commit 53ac732bae

View File

@ -88,6 +88,10 @@ export_status_handler (void *priv, gpgme_status_code_t code, char *args)
op_data_t opd;
const char *loc;
err = _gpgme_passphrase_status_handler (priv, code, args);
if (err)
return err;
err = _gpgme_op_data_lookup (ctx, OPDATA_EXPORT, &hook, -1, NULL);
opd = hook;
if (err)