aboutsummaryrefslogtreecommitdiffstats
path: root/src/op-support.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/op-support.c')
-rw-r--r--src/op-support.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/op-support.c b/src/op-support.c
index 90e1283e..8dfe15d7 100644
--- a/src/op-support.c
+++ b/src/op-support.c
@@ -130,6 +130,10 @@ _gpgme_op_reset (gpgme_ctx_t ctx, int type)
}
}
+ err = _gpgme_engine_set_protocol (ctx->engine, ctx->sub_protocol);
+ if (err)
+ return err;
+
if (type == 1 || (type == 2 && !ctx->io_cbs.add))
{
/* Use private event loop. */