Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: wolfSSL_CTX_use_certificate_buffer documentation argument nits #8144

Open
bagder opened this issue Nov 4, 2024 · 2 comments
Open
Assignees
Labels

Comments

@bagder
Copy link

bagder commented Nov 4, 2024

Contact Details

reply here

Version

current online docs

Description

The example snippet for wolfSSL_CTX_use_certificate_buffer does two "suspicious" things:

  1. it sets sz to zero, when it should be the size of the buffer
  2. the third argument wants a long so sz is using the wrong type

Reproduction steps

No response

Relevant log output

No response

@bagder bagder added the bug label Nov 4, 2024
@bagder
Copy link
Author

bagder commented Nov 4, 2024

This same mistake exists for multiple function calls in the documentation.

@ColtonWilley
Copy link
Contributor

@bagder I have a PR up here #8161 which should fix this issue, please let me know if you had something else in mind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants