Skip to content

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

Merged
philljj merged 1 commit intowolfSSL:masterfrom
SparkiDev:bn_bin2bn_fix
Oct 16, 2024
Merged

BN API: fix BN_bin2bn to handle NULL data properly#8082
philljj merged 1 commit intowolfSSL:masterfrom
SparkiDev:bn_bin2bn_fix

Conversation

@SparkiDev
Copy link
Copy Markdown
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
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