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

Regression testing: fixes #8304

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

SparkiDev
Copy link
Contributor

@SparkiDev SparkiDev commented Dec 19, 2024

Description

src/x509.c: wolfssl_x509_name_entry_set() ne->object is freed if call to wolfSSL_OBJ_nid2obj_ex() fails. Always assign directly back to ne->object.

wolfcrypt/test/test.c: aes_ctr_test() doesn't need AES decrypt ./configure '--disable-shared' '--enable-cryptonly' 'CFLAGS=-DNO_AES_DECRYPT' '--disable-aescbc' '--disable-aesofb' '--disable-aescfb' '--disable-aesgcm' '--disable-aesccm' '--enable-aesctr' '--disable-aesxts' '--disable-aeseax'

tests/api.c: test_X509_STORE_InvalidCa() only defined when !NO_RSA ./configure '--disable-shared' '--enable-opensslall' '--disable-rsa'

tests/api.c: test_wolfSSL_GENERAL_NAME_print() free ridObj if not assigned into gn.

Testing

See above and memory failure testing.

Checklist

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

src/x509.c: wolfssl_x509_name_entry_set() ne->object is freed if call to
wolfSSL_OBJ_nid2obj_ex() fails. Always assign directly back to
ne->object.

wolfcrypt/test/test.c: aes_ctr_test() doesn't need AES decrypt
./configure '--disable-shared' '--enable-cryptonly'
'CFLAGS=-DNO_AES_DECRYPT' '--disable-aescbc' '--disable-aesofb'
'--disable-aescfb' '--disable-aesgcm' '--disable-aesccm'
'--enable-aesctr' '--disable-aesxts' '--disable-aeseax'

tests/api.c: test_X509_STORE_InvalidCa() only defined when !NO_RSA
./configure '--disable-shared' '--enable-opensslall' '--disable-rsa'

tests/api.c: test_wolfSSL_GENERAL_NAME_print() free ridObj if not
assigned into gn.
@JacobBarthelmeh JacobBarthelmeh merged commit 7cebe95 into wolfSSL:master Dec 20, 2024
148 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants