Home GnuPG
Diffusion GnuPG 1f03d4cd940f

g10: Use a symbolic constant instead of a literal.
1f03d4cd940fUnpublished

Unpublished Commit ยท Learn More

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

Description

g10: Use a symbolic constant instead of a literal.

* g10/trustdb.c (KEY_HASH_TABLE_SIZE): Define.
(new_key_hash_table): Use KEY_HASH_TABLE_SIZE instead of a literal.
(release_key_hash_table): Likewise.
(test_key_hash_table): Likewise.
(add_key_hash_table): Likewise.
  • Signed-off-by: Neal H. Walfield <neal@g10code.com>.

Details

Provenance
Neal H. Walfield <neal@g10code.com>Authored on Sep 1 2015, 10:40 AM
Parents
rGee7ec1256b24: g10: Add test for keydb as well as new testing infrastructure.
Branches
Unknown
Tags
Unknown

Event Timeline

Neal H. Walfield <neal@g10code.com> committed rG1f03d4cd940f: g10: Use a symbolic constant instead of a literal. (authored by Neal H. Walfield <neal@g10code.com>).Sep 2 2015, 3:08 PM