Only seed database for Debian install if we're using default config
[onak.git] / keydb_pg.c
index 812e5d76b1aa079777ffa58a43b579c08a966070..85ea50060b5b12a58cad35badabb066d9d9043a8 100644 (file)
@@ -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);