X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/5b3f77c7fbafb036d20a1577ed74f475e94ed821..f0822345a23524444df900e19b58c0b930e76cbf:/maxpath.c diff --git a/maxpath.c b/maxpath.c index b9ba53a..0bdc04b 100644 --- a/maxpath.c +++ b/maxpath.c @@ -28,10 +28,10 @@ void findmaxpath(unsigned long max) from = to = tmp = NULL; /* - * My (noodles@earth.li, DSA) key is in the strongly connected set of + * My (noodles@earth.li, RSA) key is in the strongly connected set of * keys, so we use it as a suitable starting seed. */ - config.dbbackend->cached_getkeysigs(0xF1BD4BE45B430367); + config.dbbackend->cached_getkeysigs(0x94FA372B2DA8B985); /* * Loop through the hash examining each key present and finding the @@ -52,8 +52,9 @@ void findmaxpath(unsigned long max) from = (struct stats_key *)curkey->object; to = tmp; distance = to->colour; - printf("Current max path (#%ld) is from %llX" - " to %llX (%ld steps)\n", + printf("Current max path (#%ld) is from %" + PRIX64 " to %" PRIX64 + " (%ld steps)\n", loop, from->keyid, to->keyid, @@ -62,7 +63,7 @@ void findmaxpath(unsigned long max) curkey=curkey->next; } } - printf("Max path is from %llX to %llX (%ld steps)\n", + printf("Max path is from %" PRIX64 " to %" PRIX64 " (%ld steps)\n", from->keyid, to->keyid, distance);