X-Git-Url: https://the.earth.li/gitweb/?p=onak.git;a=blobdiff_plain;f=hashquery.c;h=5c056a2d3298ab3bb37769cbcd92eb1c0faae7f4;hp=965eaf9d19ab233c5b6c7b674d6b7237aff6122e;hb=adc800dbc424a1e246dd4a82a0c2e88eeda25531;hpb=8e0907be1d73011075a99a0c029c56664e12843e diff --git a/hashquery.c b/hashquery.c index 965eaf9..5c056a2 100644 --- a/hashquery.c +++ b/hashquery.c @@ -13,10 +13,10 @@ * more details. * * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., 51 - * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * this program. If not, see . */ +#include #include #include #include @@ -25,7 +25,7 @@ #include "charfuncs.h" #include "cleanup.h" -#include "keyid.h" +#include "keydb.h" #include "log.h" #include "marshal.h" #include "mem.h" @@ -90,7 +90,7 @@ int main(int argc, char *argv[]) } catchsignals(); - dbctx = config.dbinit(false); + dbctx = config.dbinit(config.backend, false); if (dbctx->fetch_key_skshash == NULL) { dbctx->cleanupdb(dbctx);