Skip to content

Split original ASN.1 code from asn.c into asn_orig.c#9920

Open
dgarske wants to merge 2 commits intowolfSSL:masterfrom
dgarske:asn_old
Open

Split original ASN.1 code from asn.c into asn_orig.c#9920
dgarske wants to merge 2 commits intowolfSSL:masterfrom
dgarske:asn_old

Conversation

@dgarske
Copy link
Contributor

@dgarske dgarske commented Mar 9, 2026

Move non-template (WOLFSSL_ASN_ORIGINAL) code into asn_orig.c and include from asn.c.

Move non-template (WOLFSSL_ASN_ORIGINAL) code into asn_orig.c and include from asn.c.
Copilot AI review requested due to automatic review settings March 9, 2026 05:40
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Moves the non-template ASN.1 implementation into a separate asn_orig.c file and ensures it’s included in distributed source archives.

Changes:

  • Adds the new wolfcrypt/src/asn_orig.c file to Automake’s EXTRA_DIST so it’s shipped in release tarballs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Add settings.h include before the compile guard in asn_orig.c so
WOLFSSL_IGNORE_FILE_WARN is available when compiled separately.
Add -Wno-pedantic for asn_orig.c in async examples Makefile to
suppress empty translation unit warning.
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.

2 participants