mbedtls
mbedtls copied to clipboard
[Backport 3.6] Refactored a minor check in ecp check privkey
Description
This is a backport of #9494
PR checklist
Please remove the segment/s on either side of the | symbol as appropriate, and add any relevant link/s to the end of the line. If the provided content is part of the present PR remove the # symbol.
- [ ] changelog not required because: is a minor comment
- [ ] development PR provided #9494
- [ ] framework PR provided not required
- [ ] 3.6 PR provided
- [ ] 2.28 PR provided #9496
- tests provided | not required because:
Notes for the submitter
Please refer to the contributing guidelines, especially the checklist for PR contributors.
Help make review efficient:
- Multiple simple commits
- please structure your PR into a series of small commits, each of which does one thing
- Avoid force-push
- please do not force-push to update your PR - just add new commit(s)
- See our Guidelines for Contributors for more details about the review process.