X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=add.c;h=bb12e059beb861d69afde4beea10ee4a65b3b715;hb=d2b297e2cf5769ecf4cf22a26f8c9775415c2999;hp=80afaddf5ba352615af93f22f7978e54d77214ac;hpb=62078c1601192c2594b954a122ac44a0c319c9bd;p=onak.git diff --git a/add.c b/add.c index 80afadd..bb12e05 100644 --- a/add.c +++ b/add.c @@ -16,6 +16,7 @@ #include "getcgi.h" #include "keydb.h" #include "keystructs.h" +#include "onak-conf.h" #include "parsekey.h" #include "merge.h" @@ -55,6 +56,7 @@ int main(int argc, char *argv[]) &packets); if (packets != NULL) { parse_keys(packets, &keys); + readconfig(); initdb(); printf("Got %d new keys.\n", update_keys(&keys, false));