g10: Don't use the same variable for multiple SQL compiled statements
authorNeal H. Walfield <neal@g10code.com>
Mon, 21 Nov 2016 20:13:15 +0000 (21:13 +0100)
committerNeal H. Walfield <neal@g10code.com>
Mon, 21 Nov 2016 20:13:15 +0000 (21:13 +0100)
commit7142b293c870d73ce0146bfb90e6a556e0079650
treee53dd26192a0a306241cdbfd393f835e4a9d12c2
parent91a0483c5db8ee4510981448a705981ee1cce199
g10: Don't use the same variable for multiple SQL compiled statements

* g10/tofu.c (struct tofu_dbs_s): Remove unused field
record_binding_update2.  Replace register_insert with
register_signature and register_encryption.
(tofu_register_signature): Don't use dbs->s.register_insert, but
dbs->s.register_signature.
(tofu_register_encryption): Don't use dbs->s.register_insert, but
dbs->s.register_encryption.

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