+2003-02-18 Marcus Brinkmann <marcus@g10code.de>
+
+ * engine-gpgsm.c (_gpgme_gpgsm_op_sign): Call
+ gpgsm_assuan_simple_command with status handlers.
+ * edit.c (_gpgme_op_edit_start): Check return value of
+ _gpgme_engine_op_edit.
+ * import.c (_gpgme_op_import_start): Likewise for
+ _gpgme_engine_op_import.
+ * sign.c (_gpgme_op_sign_start): Likewise for
+ _gpgme_engine_op_sign.
+
2003-01-30 Marcus Brinkmann <marcus@g10code.de>
* edit.c (_gpgme_edit_status_handler): Call the progress status
_gpgme_engine_set_verbosity (ctx->engine, ctx->verbosity);
- _gpgme_engine_op_edit (ctx->engine, key, out, ctx);
+ err = _gpgme_engine_op_edit (ctx->engine, key, out, ctx);
/* And kick off the process. */
- err = _gpgme_engine_start (ctx->engine, ctx);
+ if (!err)
+ err = _gpgme_engine_start (ctx->engine, ctx);
leave:
if (err)
strcpy (stpcpy (buf, "SIGNER "), s);
err = gpgsm_assuan_simple_command (gpgsm->assuan_ctx, buf,
- NULL, NULL);
+ gpgsm->status.fnc,
+ gpgsm->status.fnc_value);
}
else
err = GPGME_Invalid_Key;
_gpgme_engine_set_status_handler (ctx->engine, import_status_handler, ctx);
_gpgme_engine_set_verbosity (ctx->engine, ctx->verbosity);
- _gpgme_engine_op_import (ctx->engine, keydata);
+ err = _gpgme_engine_op_import (ctx->engine, keydata);
if (!err)
err = _gpgme_engine_start (ctx->engine, ctx);
ctx);
_gpgme_engine_set_verbosity (ctx->engine, ctx->verbosity);
- _gpgme_engine_op_sign (ctx->engine, in, out, mode, ctx->use_armor,
- ctx->use_textmode, ctx->include_certs,
- ctx /* FIXME */);
+ err = _gpgme_engine_op_sign (ctx->engine, in, out, mode, ctx->use_armor,
+ ctx->use_textmode, ctx->include_certs,
+ ctx /* FIXME */);
/* And kick off the process. */
- err = _gpgme_engine_start (ctx->engine, ctx);
+ if (!err)
+ err = _gpgme_engine_start (ctx->engine, ctx);
leave:
if (err)