wolfssl
wolfssl copied to clipboard
[Bug]: wolfSSL_CTX_use_certificate_buffer documentation argument nits
Contact Details
reply here
Version
current online docs
Description
The example snippet for wolfSSL_CTX_use_certificate_buffer does two "suspicious" things:
- it sets
szto zero, when it should be the size of the buffer - the third argument wants a
longsoszis using the wrong type
Reproduction steps
No response
Relevant log output
No response
This same mistake exists for multiple function calls in the documentation.
@bagder I have a PR up here https://github.com/wolfSSL/wolfssl/pull/8161 which should fix this issue, please let me know if you had something else in mind.