From 0fdd7e71c2d05b84db19a30df8cf5d5ca1412ca4 Mon Sep 17 00:00:00 2001 From: Jonathan McDowell Date: Sat, 26 Dec 2009 12:18:13 +0000 Subject: [PATCH] Fix PostgreSQL backend key iteration We weren't passing the correct pointer into the parse_keys function when parsing the packets we'd read. --- keydb_pg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keydb_pg.c b/keydb_pg.c index 812e5d7..85ea500 100644 --- a/keydb_pg.c +++ b/keydb_pg.c @@ -608,7 +608,7 @@ static int pg_iterate_keys(void (*iterfunc)(void *ctx, } else { read_openpgp_stream(keydb_fetchchar, &fd, &packets, 0); - parse_keys(packets, key); + parse_keys(packets, &key); lo_close(dbconn, fd); iterfunc(ctx, key); -- 2.39.2