X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/62078c1601192c2594b954a122ac44a0c319c9bd..42bcfe2cae29f375af4cf2cd3ccfa196b77a3946:/add.c?ds=inline 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));