Hi Mario,

Mario Campos wrote on Mon, Aug 20, 2018 at 07:16:21PM -0500:

> This is my first contribution.
> If I'm doing something wrong here, please let me know.

No, your patch is completely correct (it's likely a copy-paste
oversight introduced when adding these functions to the manual
page), and sending bugfix patches to tech@ is also OK.

I just committed your patch.

> I came across this "bug" as I was going through
> Bob Beck's libtls tutorial.

That's a cool one, right?  :-)

Thanks,
  Ingo


> Index: lib/libtls/man/tls_load_file.3
> ===================================================================
> RCS file: /cvs/src/lib/libtls/man/tls_load_file.3,v
> retrieving revision 1.9
> diff -u -p -u -r1.9 tls_load_file.3
> --- lib/libtls/man/tls_load_file.3      8 Oct 2017 06:56:36 -0000       1.9
> +++ lib/libtls/man/tls_load_file.3      19 Aug 2018 14:00:42 -0000
> @@ -118,7 +118,7 @@
>  .Ft int
>  .Fo tls_config_set_ocsp_staple_file
>  .Fa "struct tls_config *config"
> -.Fa "const uint8_t *staple_file"
> +.Fa "const char *staple_file"
>  .Fc
>  .Ft int
>  .Fo tls_config_set_keypair_file
> 

Reply via email to