Index | Thread | Search

From:
Jason McIntyre <jmc@kerhand.co.uk>
Subject:
Re: [PATCH] Fix incorrect numbers in OPENSSL_malloc.3
To:
tech@openbsd.org
Date:
Thu, 4 Apr 2024 10:17:35 +0100

Download raw body.

Thread
On Thu, Apr 04, 2024 at 01:11:18AM -0700, Vincent Lee wrote:
> The previous change to the file removed docs for {CRYPTO_OPENSSL}_realloc but didn't update these numbers.
> ---
>  lib/libcrypto/man/OPENSSL_malloc.3 | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/lib/libcrypto/man/OPENSSL_malloc.3 b/lib/libcrypto/man/OPENSSL_malloc.3
> index 7779a3ec0e..448105ee5c 100644
> --- a/lib/libcrypto/man/OPENSSL_malloc.3
> +++ b/lib/libcrypto/man/OPENSSL_malloc.3
> @@ -61,7 +61,7 @@
>  Do not use any of the interfaces documented here in new code.
>  They are provided purely for compatibility with legacy application code.
>  .Pp
> -All 8 of these functions are wrappers around the corresponding
> +All 6 of these functions are wrappers around the corresponding

for stuff like this, i suggest not trying to keep track of numbers. i.e.

	All of these functions ...

and:

>  standard
>  .Xr malloc 3 ,
>  .Xr free 3 ,
> @@ -69,7 +69,7 @@ and
>  .Xr strdup 3
>  functions.
>  .Pp
> -The four
> +The three
>  .Fn OPENSSL_*
>  functions are implemented as macros.

	The OPENSSL_* functions ...

jmc

>  .Sh RETURN VALUES
> -- 
> 2.44.0
>