Make the OSSL_PROVIDER manual conform with man-pages(7)
authorRichard Levitte <levitte@openssl.org>
Tue, 12 Jan 2021 15:13:42 +0000 (16:13 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 13 Jan 2021 22:34:56 +0000 (23:34 +0100)
Details from man-pages(7) that are used:

    Formatting conventions for manual pages describing functions

        ...
        Variable names should, like argument names, be specified in italics.
        ...

    Formatting conventions (general)

        ...
        Special macros, which are usually in uppercase, are in bold.
        Exception: don't boldface NULL.
        ...

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/13845)

doc/man3/OSSL_PROVIDER.pod

index fa9d45b11d52cb99b8418fa7147598ca93e44d66..2baccfffaffbcb6080e1b6cb3e073c77d784fdbd 100644 (file)
@@ -61,8 +61,8 @@ L<OSSL_LIB_CTX(3)> for further details.
 
 =head2 Functions
 
-OSSL_PROVIDER_set_default_search_path() specifies the default search B<path>
-that is to be used for looking for providers in the specified B<libctx>.
+OSSL_PROVIDER_set_default_search_path() specifies the default search I<path>
+that is to be used for looking for providers in the specified I<libctx>.
 If left unspecified, an environment variable and a fall back default value will
 be used instead.
 
@@ -138,7 +138,7 @@ OSSL_PROVIDER_add(), OSSL_PROVIDER_unload(), OSSL_PROVIDER_get_params() and
 OSSL_PROVIDER_get_capabilities() return 1 on success, or 0 on error.
 
 OSSL_PROVIDER_load() and OSSL_PROVIDER_try_load() return a pointer to a
-provider object on success, or B<NULL> on error.
+provider object on success, or NULL on error.
 
 OSSL_PROVIDER_available() returns 1 if the named provider is available,
 otherwise 0.