Home GnuPG
Diffusion GnuPG 7142b293c870

g10: Don't use the same variable for multiple SQL compiled statements
7142b293c870Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

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>

Details

Provenance
Neal H. Walfield <neal@g10code.com>Authored on Nov 21 2016, 9:13 PM
Parents
rG91a0483c5db8: g10: Add a convenience function for checking if a key is a primary key
Branches
Unknown
Tags
Unknown

Event Timeline

Neal H. Walfield <neal@g10code.com> committed rG7142b293c870: g10: Don't use the same variable for multiple SQL compiled statements (authored by Neal H. Walfield <neal@g10code.com>).Nov 21 2016, 9:13 PM