X-Git-Url: http://the.earth.li/gitweb/?a=blobdiff_plain;f=maxpath.c;h=0bdc04b9c49bba84ad72e1ec96d7945919eb2e20;hb=3e3f47ec2fdbfaf0682d9790a99264a4e60e9bf1;hp=4d65588636e5a68fe03e43f4dbd55668e4e00963;hpb=1921fa44cfae203ae40e853ee9ecedb206fa9413;p=onak.git diff --git a/maxpath.c b/maxpath.c index 4d65588..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 @@ -53,7 +53,7 @@ void findmaxpath(unsigned long max) to = tmp; distance = to->colour; printf("Current max path (#%ld) is from %" - PRIx64 " to %" PRIx64 + PRIX64 " to %" PRIX64 " (%ld steps)\n", loop, from->keyid, @@ -63,7 +63,7 @@ void findmaxpath(unsigned long max) curkey=curkey->next; } } - printf("Max path is from %" PRIx64 " to %" PRIx64 " (%ld steps)\n", + printf("Max path is from %" PRIX64 " to %" PRIX64 " (%ld steps)\n", from->keyid, to->keyid, distance);