Home GnuPG
Diffusion GnuPG f076fa190e09

g10: If iobuf_seek fails when reading from the cache, do a hard read.
f076fa190e09Unpublished

Unpublished Commit ยท Learn More

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

Description

g10: If iobuf_seek fails when reading from the cache, do a hard read.

* g10/keydb.c (keydb_get_keyblock): If the iobuf_seek fails when
reading from the cache, then simply clear the cache and try reading
from the database.
  • Signed-off-by: Neal H. Walfield <neal@g10code.com>.

Details

Provenance
Neal H. Walfield <neal@g10code.com>Authored on Sep 2 2015, 10:33 AM
Parents
rG219de84df9a8: iobuf: Reduce verbosity of test.
Branches
Unknown
Tags
Unknown

Event Timeline

Neal H. Walfield <neal@g10code.com> committed rGf076fa190e09: g10: If iobuf_seek fails when reading from the cache, do a hard read. (authored by Neal H. Walfield <neal@g10code.com>).Sep 2 2015, 10:38 AM