From dfc54c6eea1110a681d4999220f99fa161ae087a Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Sun, 3 Oct 2010 14:59:43 -0700 Subject: [PATCH] now that we use 2k rsa keys, don't make ca keys twise as large --- lib/hx509/crypto.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/hx509/crypto.c b/lib/hx509/crypto.c index 91732aff2..875b09cf7 100644 --- a/lib/hx509/crypto.c +++ b/lib/hx509/crypto.c @@ -828,8 +828,6 @@ rsa_generate_private_key(hx509_context context, if (ctx->num_bits) bits = ctx->num_bits; - else if (ctx->isCA) - bits *= 2; ret = RSA_generate_key_ex(private_key->private_key.rsa, bits, e, NULL); BN_free(e);