]> git.rm.cloudns.org Git - xonotic/d0_blind_id.git/commitdiff
back to 1024 bits
authorRudolf Polzer <divverent@alientrap.org>
Thu, 2 Sep 2010 06:09:28 +0000 (08:09 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Thu, 2 Sep 2010 06:09:28 +0000 (08:09 +0200)
main.c

diff --git a/main.c b/main.c
index d52a8bf6ce6a1bbabf11a6ef5faf81f0283ddb87..2e8e24e1ef344508a0e3b5d56345dacb937d7ce8 100644 (file)
--- a/main.c
+++ b/main.c
@@ -67,7 +67,7 @@ int main(int argc, char **argv)
        ctx_other = d0_blind_id_new();
 
        printf("keygen RSA...\n");
-       if(!d0_blind_id_generate_private_key(ctx_self, 256))
+       if(!d0_blind_id_generate_private_key(ctx_self, 1024))
                errx(1, "keygen fail");
        buf2size = sizeof(buf2) - 1;
        if(!d0_blind_id_fingerprint64_public_key(ctx_self, buf2, &buf2size))