From 53ac732bae46e1f883998e987fc84d4cababde12 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Tue, 24 Nov 2020 14:56:28 +0900 Subject: [PATCH] core: Call _gpgme_passphrase_status_handler when exporting keys. * src/export.c (export_status_handler): Call the handler. -- Fixes-commit: 3382ecb17eb5d2a373cf2eccb301854fff42f6aa Signed-off-by: NIIBE Yutaka --- src/export.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/export.c b/src/export.c index f827efac..879a54f9 100644 --- a/src/export.c +++ b/src/export.c @@ -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)