X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=doc%2Fcrypto%2FEVP_PKEY_CTX_ctrl.pod;h=cc27e54b0ccba6f37c4eb5d15c0df0efb35cfbe4;hp=5710cfb8610fd1d590cc54206b26f0dd07faa6d5;hb=a528d4f0a9a71405f3ca06e20cbd27aa1b8c0df9;hpb=9b86974e0c705ea321ddbc9a9d8562c894809e5b diff --git a/doc/crypto/EVP_PKEY_CTX_ctrl.pod b/doc/crypto/EVP_PKEY_CTX_ctrl.pod index 5710cfb861..cc27e54b0c 100644 --- a/doc/crypto/EVP_PKEY_CTX_ctrl.pod +++ b/doc/crypto/EVP_PKEY_CTX_ctrl.pod @@ -108,8 +108,8 @@ for DH parameter generation. If not specified 2 is used. The EVP_PKEY_CTX_set_ec_paramgen_curve_nid() sets the EC curve for EC parameter generation to B. For EC parameter generation this macro must be called -or an error occurs because there is no default curve. In OpenSSL 1.0.2 and -later this function can also be called to set the curve explicitly when +or an error occurs because there is no default curve. +This function can also be called to set the curve explicitly when generating an EC key. The EVP_PKEY_CTX_set_ec_param_enc() sets the EC parameter encoding to @@ -117,7 +117,7 @@ B when generating EC parameters or an EC key. The encoding can be B for explicit parameters (the default in versions of OpenSSL before 1.1.0) or B to use named curve form. For maximum compatibility the named curve form should be used. Note: the -B value was only added to OpenSSL 1.1.0: previous +B value was only added to OpenSSL 1.1.0; previous versions should use 0 instead. =head1 RETURN VALUES