diff options
author | Matt Caswell <matt@openssl.org> | 2020-06-18 09:09:04 +0100 |
---|---|---|
committer | Dmitry Belyavskiy <beldmit@gmail.com> | 2020-06-24 18:55:09 +0300 |
commit | 6926be0b163d760093216e25402abda790e197ac (patch) | |
tree | dc3811e153771c9d220f3713e10de503f25acfbb /doc/man3 | |
parent | 1c19ff3ce85ee22afcf87d28ce2cababef02a123 (diff) |
Fix some man page typos
A few miscellaneous man page typos reported by Hal Murray on
openssl-users.
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/12185)
Diffstat (limited to 'doc/man3')
-rw-r--r-- | doc/man3/EVP_MAC.pod | 6 | ||||
-rw-r--r-- | doc/man3/EVP_PKEY_CTX_new.pod | 2 | ||||
-rw-r--r-- | doc/man3/X509V3_get_d2i.pod | 2 | ||||
-rw-r--r-- | doc/man3/X509_NAME_add_entry_by_txt.pod | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/doc/man3/EVP_MAC.pod b/doc/man3/EVP_MAC.pod index 1464515459..b8fa1ce630 100644 --- a/doc/man3/EVP_MAC.pod +++ b/doc/man3/EVP_MAC.pod @@ -317,12 +317,12 @@ EVP_MAC_do_all_provided() returns nothing at all. if (cipher != NULL) params[params_n++] = - OSSL_PARAM_construct_utf8_string("cipher", cipher, 0, NULL); + OSSL_PARAM_construct_utf8_string("cipher", cipher, 0; if (digest != NULL) params[params_n++] = - OSSL_PARAM_construct_utf8_string("digest", digest, 0, NULL); + OSSL_PARAM_construct_utf8_string("digest", digest, 0); params[params_n++] = - OSSL_PARAM_construct_octet_string("key", key, strlen(key), NULL); + OSSL_PARAM_construct_octet_string("key", key, strlen(key)); params[params_n] = OSSL_PARAM_construct_end(); if (mac == NULL diff --git a/doc/man3/EVP_PKEY_CTX_new.pod b/doc/man3/EVP_PKEY_CTX_new.pod index 4430967d19..c3fc4c55ca 100644 --- a/doc/man3/EVP_PKEY_CTX_new.pod +++ b/doc/man3/EVP_PKEY_CTX_new.pod @@ -97,7 +97,7 @@ documentation for more information. =head1 RETURN VALUES EVP_PKEY_CTX_new(), EVP_PKEY_CTX_new_id(), EVP_PKEY_CTX_dup() returns either -the newly allocated B<EVP_PKEY_CTX> structure of B<NULL> if an error occurred. +the newly allocated B<EVP_PKEY_CTX> structure or B<NULL> if an error occurred. EVP_PKEY_CTX_free() does not return a value. diff --git a/doc/man3/X509V3_get_d2i.pod b/doc/man3/X509V3_get_d2i.pod index fcaace82b5..062b10e0b6 100644 --- a/doc/man3/X509V3_get_d2i.pod +++ b/doc/man3/X509V3_get_d2i.pod @@ -196,7 +196,7 @@ The following extensions are used by certificate transparency, RFC6962 =head1 RETURN VALUES X509V3_EXT_d2i() and *X509V3_get_d2i() return a pointer to an extension -specific structure of B<NULL> if an error occurs. +specific structure or B<NULL> if an error occurs. X509V3_EXT_i2d() returns a pointer to an B<X509_EXTENSION> structure or B<NULL> if an error occurs. diff --git a/doc/man3/X509_NAME_add_entry_by_txt.pod b/doc/man3/X509_NAME_add_entry_by_txt.pod index 7f52966121..1988a6ae2b 100644 --- a/doc/man3/X509_NAME_add_entry_by_txt.pod +++ b/doc/man3/X509_NAME_add_entry_by_txt.pod @@ -81,7 +81,7 @@ X509_NAME_add_entry_by_NID() and X509_NAME_add_entry() return 1 for success of 0 if an error occurred. X509_NAME_delete_entry() returns either the deleted B<X509_NAME_ENTRY> -structure of B<NULL> if an error occurred. +structure or B<NULL> if an error occurred. =head1 EXAMPLES |