now that we use 2k rsa keys, don't make ca keys twise as large
This commit is contained in:
@@ -828,8 +828,6 @@ rsa_generate_private_key(hx509_context context,
|
|||||||
|
|
||||||
if (ctx->num_bits)
|
if (ctx->num_bits)
|
||||||
bits = 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);
|
ret = RSA_generate_key_ex(private_key->private_key.rsa, bits, e, NULL);
|
||||||
BN_free(e);
|
BN_free(e);
|
||||||
|
Reference in New Issue
Block a user