]> the.earth.li Git - onak.git/blobdiff - sixdegrees.c
Fix handling of other signature requirement
[onak.git] / sixdegrees.c
index 3dd13ec81a0fabda4ad2cf306f769169878d12e7..f7f15200dd0d7b424276e10f9dd90ceb2c02b301 100644 (file)
@@ -13,8 +13,7 @@
  * more details.
  *
  * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ * this program.  If not, see <https://www.gnu.org/licenses/>.
  */
 
 #include <getopt.h>
@@ -137,7 +136,7 @@ int main(int argc, char *argv[])
 {
        int optchar;
        char *configfile = NULL;
-       uint64_t keyid = 0x2DA8B985;
+       uint64_t keyid = 0x94FA372B2DA8B985;
        struct onak_dbctx *dbctx;
 
        while ((optchar = getopt(argc, argv, "c:")) != -1 ) {
@@ -161,7 +160,7 @@ int main(int argc, char *argv[])
        dbctx = config.dbinit(config.backend, true);
        if (dbctx != NULL) {
                inithash();
-               sixdegrees(dbctx, dbctx->getfullkeyid(dbctx, keyid));
+               sixdegrees(dbctx, keyid);
                destroyhash();
                dbctx->cleanupdb(dbctx);
        } else {