From: Marcus Brinkmann Date: Fri, 14 Dec 2001 22:02:43 +0000 (+0000) Subject: 2001-12-14 Marcus Brinkmann X-Git-Tag: gpgme-1.2.0@1385~1193 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=77472b9ff59c1db420117d7390c79300cdf03387;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/trunk/gpgme/ChangeLog b/trunk/gpgme/ChangeLog index 91d39c9..166f631 100644 --- a/trunk/gpgme/ChangeLog +++ b/trunk/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/trunk/gpgme/engine-gpgsm.c b/trunk/gpgme/engine-gpgsm.c index 456de4f..366a631 100644 --- a/trunk/gpgme/engine-gpgsm.c +++ b/trunk/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)