json: Fix detached verify
authorAndre Heinecke <aheinecke@intevation.de>
Wed, 29 Aug 2018 12:32:36 +0000 (14:32 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Wed, 29 Aug 2018 12:32:36 +0000 (14:32 +0200)
commit1420c3bd681648b032d756536311621a3627bedb
tree9f3ffea88d3a5b30504881a56c3c998e52e552ec
parentf7e5ae7f1618bd355b885c5c32dd028afad35453
json: Fix detached verify

* src/gpgme-json.c (op_verify): Only create output and
use it for clearsigned and opaque signed.

--
Just passing output to gpgme_op_verify changes the behavior to
no longer do a verify of the signature.
src/gpgme-json.c