From 9c0586d5fc7988d2f8544f7884572a3b430406f6 Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Fri, 27 Sep 2019 13:17:09 -0400 Subject: Fix errors found by new find-doc-nits Also patch find-doc-nits to ignore a Microsoft trademark and not flag it as a spelling error. Reviewed-by: Richard Levitte Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/10023) --- doc/internal/man3/evp_generic_fetch.pod | 2 +- doc/internal/man3/ossl_cmp_asn1_octet_string_set1.pod | 2 +- doc/internal/man3/ossl_namemap_new.pod | 2 +- doc/internal/man3/ossl_provider_new.pod | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/internal') diff --git a/doc/internal/man3/evp_generic_fetch.pod b/doc/internal/man3/evp_generic_fetch.pod index 4c12158317..c4734394bb 100644 --- a/doc/internal/man3/evp_generic_fetch.pod +++ b/doc/internal/man3/evp_generic_fetch.pod @@ -39,7 +39,7 @@ I, I, and I. evp_generic_fetch_by_number() does the same thing as evp_generic_fetch(), but takes a I instead of a number. -I must always be non-zero; as a matter of fact, it being zero +I must always be nonzero; as a matter of fact, it being zero is considered a programming error. This is meant to be used when one method needs to fetch an associated other method, and is typically called from inside the given function diff --git a/doc/internal/man3/ossl_cmp_asn1_octet_string_set1.pod b/doc/internal/man3/ossl_cmp_asn1_octet_string_set1.pod index 83a6d94929..08941362fb 100644 --- a/doc/internal/man3/ossl_cmp_asn1_octet_string_set1.pod +++ b/doc/internal/man3/ossl_cmp_asn1_octet_string_set1.pod @@ -37,7 +37,7 @@ by L etc. according to the pattern OSSL_CMP_LOG_START#level ": %s\n", filling in the variable pointed to by I with the severity level or -1, the variable pointed to by I with the function name string or NULL, -the variable pointed to by I with the file name string or NULL, and +the variable pointed to by I with the filename string or NULL, and the variable pointed to by I with the line number or -1. Any string returned via I<*func> and I<*file> must be freeed by the caller. diff --git a/doc/internal/man3/ossl_namemap_new.pod b/doc/internal/man3/ossl_namemap_new.pod index 8699b861b0..b82d47a5bf 100644 --- a/doc/internal/man3/ossl_namemap_new.pod +++ b/doc/internal/man3/ossl_namemap_new.pod @@ -43,7 +43,7 @@ ossl_namemap_add() adds a new name to the namemap if it's not already present. If the given I is zero, a new number will be allocated to identify this I. -If the given I is non-zero, the I is added to the set of +If the given I is nonzero, the I is added to the set of names already associated with that number. ossl_namemap_name2num() finds the number corresponding to the given diff --git a/doc/internal/man3/ossl_provider_new.pod b/doc/internal/man3/ossl_provider_new.pod index 7154d5f36a..39c3cba027 100644 --- a/doc/internal/man3/ossl_provider_new.pod +++ b/doc/internal/man3/ossl_provider_new.pod @@ -184,7 +184,7 @@ ossl_provider_new(). ossl_provider_dso() returns a reference to the module, for providers that come in the form of loadable modules. -ossl_provider_module_name() returns the file name of the module, for +ossl_provider_module_name() returns the filename of the module, for providers that come in the form of loadable modules. ossl_provider_module_path() returns the full path of the module file, -- cgit v1.2.3