From: Marcus Brinkmann Date: Fri, 14 Dec 2001 22:02:43 +0000 (+0000) Subject: 2001-12-14 Marcus Brinkmann X-Git-Tag: gpgme-0-3-0~25 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6493b000420b6e50ca4f3e4a8e81d233c55c78c2;p=gpgme.git 2001-12-14 Marcus Brinkmann * engine-gpgsm.c (_gpgme_gpgsm_op_verify): Put TEXT into message_data, not SIG. --- diff --git a/gpgme/ChangeLog b/gpgme/ChangeLog index 91d39c9..166f631 100644 --- a/gpgme/ChangeLog +++ b/gpgme/ChangeLog @@ -1,3 +1,8 @@ +2001-12-14 Marcus Brinkmann + + * engine-gpgsm.c (_gpgme_gpgsm_op_verify): Put TEXT into + message_data, not SIG. + 2001-12-14 Marcus Brinkmann * engine-gpgsm.c: Revert last change. diff --git a/gpgme/engine-gpgsm.c b/gpgme/engine-gpgsm.c index 456de4f..366a631 100644 --- a/gpgme/engine-gpgsm.c +++ b/gpgme/engine-gpgsm.c @@ -494,7 +494,7 @@ _gpgme_gpgsm_op_verify (GpgsmObject gpgsm, GpgmeData sig, GpgmeData text) err = gpgsm_set_fd (gpgsm->assuan_ctx, "INPUT", gpgsm->input_fd_server, 0); if (err) return mk_error (General_Error); /* FIXME */ - gpgsm->message_data = sig; + gpgsm->message_data = text; err = gpgsm_set_fd (gpgsm->assuan_ctx, "MESSAGE", gpgsm->message_fd_server, 0); if (err)