diff options
Diffstat (limited to 'apps/genrsa.c')
-rw-r--r-- | apps/genrsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/genrsa.c b/apps/genrsa.c index 04315a559b..f471814e08 100644 --- a/apps/genrsa.c +++ b/apps/genrsa.c @@ -188,7 +188,7 @@ opthelp: BIO_printf(bio_err, "Error allocating RSA public exponent\n"); goto end; } - if (EVP_PKEY_CTX_set_rsa_keygen_pubexp(ctx, bn) <= 0) { + if (EVP_PKEY_CTX_set1_rsa_keygen_pubexp(ctx, bn) <= 0) { BIO_printf(bio_err, "Error setting RSA public exponent\n"); goto end; } |