Skip to content

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

Merged
douzzer merged 5 commits intowolfSSL:masterfrom
philljj:fix_acert_defines
Oct 11, 2024
Merged

Fix acert defines, add more tests, cleanup.#8050
douzzer merged 5 commits intowolfSSL:masterfrom
philljj:fix_acert_defines

Conversation

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