g10: Don't ignore failure. On failure, rollback.
authorNeal H. Walfield <neal@g10code.com>
Fri, 16 Sep 2016 13:18:56 +0000 (15:18 +0200)
committerNeal H. Walfield <neal@g10code.com>
Fri, 16 Sep 2016 13:35:20 +0000 (15:35 +0200)
commit221b0bd0e5946edaea7135bc3b6f3c5c0fc6dbca
tree7e6f8c94058e738cb52089b03e8faa12fe5a7f02
parentc2e563421e4fd4f0910642aa7b171bcf0b374b01
g10: Don't ignore failure.  On failure, rollback.

* g10/tofu.c (tofu_set_policy): If record_binding fails, fail.  If the
function fails, rollback the transaction.

--
Signed-off-by: Neal H. Walfield <neal@g10code.com>
g10/tofu.c