From ee783cf4f6eb6c5843b862058dedd5f8a30050ae Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Tue, 7 Jul 2020 08:14:05 +0200 Subject: [PATCH] doc: clean up EVP_PKEY_CTX_set_rsa_pss_keygen_md section --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f44c781..06e2c9e 100644 --- a/README.md +++ b/README.md @@ -2049,10 +2049,9 @@ and implementation for the specified `type`, which is our case is `rsa-pss`. privateFormat, privateType, cipher, passphrase, wrap); ``` -And we can see that we required `generateKeyPairRSAPS` from the internal +And we can see that we required `generateKeyPairRSAPSS` from the internal `crypto` module which can be found in `src/node_crypto.cc`. - RSAKeyPairGenerationConfig::Configure: ```c++ if (EVP_PKEY_CTX_set_rsa_keygen_bits(ctx.get(), modulus_bits_) <= 0) @@ -2088,7 +2087,7 @@ int RSA_pkey_ctx_ctrl(EVP_PKEY_CTX *ctx, int optype, int cmd, int p1, void *p2) return EVP_PKEY_CTX_ctrl(ctx, -1, optype, cmd, p1, p2); } ``` -Should there be a condition for EVP_PKEY_RSA_PSS?: +Should there be a condition for `EVP_PKEY_RSA_PSS`?: ```console $ git diff crypto/evp/pmeth_lib.c diff --git a/crypto/evp/pmeth_lib.c b/crypto/evp/pmeth_lib.c