From: Matt Caswell Date: Wed, 9 Dec 2020 10:40:56 +0000 (+0000) Subject: Fix some typos in EVP_PKEY-DH.pod X-Git-Tag: openssl-3.0.0-alpha10~75 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05fa5fde10cdacb4899486da0c1a7619dd08bdb7;p=thirdparty%2Fopenssl.git Fix some typos in EVP_PKEY-DH.pod A missing newline messes up how the code sample is rendered. Also a few miscellaneous typos are fixed. Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/13643) --- diff --git a/doc/man7/EVP_PKEY-DH.pod b/doc/man7/EVP_PKEY-DH.pod index 64ba7079dc7..f60ac3298ea 100644 --- a/doc/man7/EVP_PKEY-DH.pod +++ b/doc/man7/EVP_PKEY-DH.pod @@ -14,7 +14,7 @@ applications that cannot be upgraded to use the approved safe-prime groups. See L for more information about FFC keys. -For B that is not a named group) the FIPS186-4 standard specifies that the +For B that is not a named group the FIPS186-4 standard specifies that the values used for FFC parameter generation are also required for parameter validation. This means that optional FFC domain parameter values for I, I and I may need to be stored for validation purposes. @@ -24,7 +24,7 @@ For B the I and I can be stored in ASN1 data =head2 DH parameters In addition to the common FCC parameters that all FFC keytypes should support -(see L)) the B keytype +(see L) the B keytype implementation supports the following: =over 4 @@ -63,8 +63,8 @@ exchange message for the TLS protocol. =head2 DH domain parameter / key generation parameters -In addition to the common FCC key generation parameters that all FFC key types -should support (see L)) the +In addition to the common FFC key generation parameters that all FFC key types +should support (see L) the B keytype implementation supports the following: =over 4 @@ -138,6 +138,7 @@ An B key can be generated with a named safe prime group by calling: EVP_PKEY_CTX_free(pctx); Legacy B domain parameters can be generated by calling: + unsigned int pbits = 2048; unsigned int qbits = 256; int gindex = 1;