aboutsummaryrefslogtreecommitdiff
path: root/src/common/crypto.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/crypto.c')
-rw-r--r--src/common/crypto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c
index 956b4f47c..0b1d3d216 100644
--- a/src/common/crypto.c
+++ b/src/common/crypto.c
@@ -213,7 +213,7 @@ int crypto_pk_generate_key(crypto_pk_env_t *env)
case CRYPTO_PK_RSA:
if (env->key)
RSA_free((RSA *)env->key);
- env->key = (unsigned char *)RSA_generate_key(1024,65535, NULL, NULL);
+ env->key = (unsigned char *)RSA_generate_key(1024,65537, NULL, NULL);
if (!env->key)
return -1;
break;