]> git.sommitrealweird.co.uk Git - onak.git/blobdiff - sixdegrees.c
Add assert for invalid armor parameters.
[onak.git] / sixdegrees.c
index d647f5e78b468f1246d6b69883ade9cacc5ec01e..0dd324f0c139aee07b9b19fc7beae68e84336092 100644 (file)
@@ -124,8 +124,8 @@ int main(int argc, char *argv[])
                keyid = strtoll(argv[1], NULL, 16);
        }
 
                keyid = strtoll(argv[1], NULL, 16);
        }
 
-       readconfig();
-       initdb();
+       readconfig(NULL);
+       initdb(true);
        inithash();
        sixdegrees(getfullkeyid(keyid));
        destroyhash();
        inithash();
        sixdegrees(getfullkeyid(keyid));
        destroyhash();