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

Fix acert defines, add more tests, cleanup. #8050

Merged
merged 5 commits into from
Oct 11, 2024

Conversation

philljj
Copy link
Contributor

@philljj philljj commented Oct 8, 2024

Description

Expose more ACERT api without requiring full opensslextra.

Exposes these functions:

  • enable-acert enables:

    • wc_FreeDecodedAcert
    • wc_InitDecodedAcert
    • wc_ParseX509Acert
    • wc_VerifyX509Acert
  • enable-acert + enable-opensslextra=x509small enables above plus:

    • wolfSSL_X509_ACERT_free
    • wolfSSL_X509_ACERT_get_attr_buf
    • wolfSSL_X509_ACERT_get_serial_number
    • wolfSSL_X509_ACERT_get_signature
    • wolfSSL_X509_ACERT_init
    • wolfSSL_X509_ACERT_load_certificate_buffer
    • wolfSSL_X509_ACERT_load_certificate_buffer_ex
    • wolfSSL_X509_ACERT_new
    • wolfSSL_X509_ACERT_new_ex
    • wolfSSL_X509_ACERT_sign
    • wolfSSL_X509_ACERT_verify
    • wolfSSL_X509_ACERT_version
  • enable-acert + enable-opensslextra enables above plus:

    • wolfSSL_X509_ACERT_get_signature_nid
    • wolfSSL_X509_ACERT_get_version
    • wolfSSL_PEM_read_bio_X509_ACERT
    • wolfSSL_X509_ACERT_print

Testing

@philljj philljj self-assigned this Oct 8, 2024
@philljj
Copy link
Contributor Author

philljj commented Oct 9, 2024

retest this please

@philljj philljj assigned wolfSSL-Bot and unassigned philljj Oct 10, 2024
@douzzer douzzer merged commit dfd8ead into wolfSSL:master Oct 11, 2024
141 checks passed
@philljj philljj deleted the fix_acert_defines branch October 14, 2024 01:54
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