* verify.c (gpgme_op_verify): Make sure that we never access an
unitialized result structure.
This commit is contained in:
parent
1bd00d0a18
commit
276e401c42
@ -1,3 +1,8 @@
|
|||||||
|
2002-06-13 Werner Koch <wk@gnupg.org>
|
||||||
|
|
||||||
|
* verify.c (gpgme_op_verify): Make sure that we never access an
|
||||||
|
unitialized result structure.
|
||||||
|
|
||||||
2002-06-12 Werner Koch <wk@gnupg.org>
|
2002-06-12 Werner Koch <wk@gnupg.org>
|
||||||
|
|
||||||
* keylist.c (struct keylist_result_s): New.
|
* keylist.c (struct keylist_result_s): New.
|
||||||
|
@ -461,7 +461,7 @@ gpgme_op_verify (GpgmeCtx ctx, GpgmeData sig, GpgmeData text,
|
|||||||
if (!err)
|
if (!err)
|
||||||
{
|
{
|
||||||
err = _gpgme_wait_one (ctx);
|
err = _gpgme_wait_one (ctx);
|
||||||
if (!err)
|
if (!err && ctx->result.verify)
|
||||||
*r_stat = _gpgme_intersect_stati (ctx->result.verify);
|
*r_stat = _gpgme_intersect_stati (ctx->result.verify);
|
||||||
}
|
}
|
||||||
return err;
|
return err;
|
||||||
|
Loading…
Reference in New Issue
Block a user