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

BN API: fix BN_bin2bn to handle NULL data properly #8082

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

SparkiDev
Copy link
Contributor

Description

BN_bin2bn was freeing the BN and returning it.
Added test for this.

Testing

Added explicit test:
./configure --enable-opensslall
./tests/unit.test -test_wolfSSL_BN_enc_dec

Checklist

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

BN_bin2bn was freeing the BN and returning it.
Added test for this.
@philljj philljj merged commit 2abbab2 into wolfSSL:master Oct 16, 2024
140 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants