diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/rsa/rsa_pmeth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/rsa/rsa_pmeth.c b/src/lib/libcrypto/rsa/rsa_pmeth.c index 09ef090172..5580b7783a 100644 --- a/src/lib/libcrypto/rsa/rsa_pmeth.c +++ b/src/lib/libcrypto/rsa/rsa_pmeth.c | |||
@@ -96,7 +96,7 @@ static int pkey_rsa_init(EVP_PKEY_CTX *ctx) | |||
96 | rctx = malloc(sizeof(RSA_PKEY_CTX)); | 96 | rctx = malloc(sizeof(RSA_PKEY_CTX)); |
97 | if (!rctx) | 97 | if (!rctx) |
98 | return 0; | 98 | return 0; |
99 | rctx->nbits = 1024; | 99 | rctx->nbits = 2048; |
100 | rctx->pub_exp = NULL; | 100 | rctx->pub_exp = NULL; |
101 | rctx->pad_mode = RSA_PKCS1_PADDING; | 101 | rctx->pad_mode = RSA_PKCS1_PADDING; |
102 | rctx->md = NULL; | 102 | rctx->md = NULL; |