wolfssl icon indicating copy to clipboard operation
wolfssl copied to clipboard

Add checking of size param and clarify usage in doc

Open embhorn opened this issue 1 month ago • 0 comments

Description

The doc says that the size parameter of wc_SrpGetPublic is the size of the buffer passed in the pub parameter. This was not checked in the function. Also, the buffer was only cleared for the size of the public ephemeral value.

Fixes #3665

Testing

make check

Checklist

  • [ ] added tests
  • [x] updated/added doxygen
  • [ ] updated appropriate READMEs
  • [ ] Updated manual and documentation

embhorn avatar Dec 10 '25 22:12 embhorn