From: Jonathan McDowell Date: Sat, 26 Dec 2009 12:18:13 +0000 (+0000) Subject: Fix PostgreSQL backend key iteration X-Git-Tag: 0.3.8~4 X-Git-Url: https://the.earth.li/gitweb/?a=commitdiff_plain;h=0fdd7e71c2d05b84db19a30df8cf5d5ca1412ca4;p=onak.git Fix PostgreSQL backend key iteration We weren't passing the correct pointer into the parse_keys function when parsing the packets we'd read. --- 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);