Skip to content

Add static_ASN1_SEQUENCE_END to the list of statement macros - #29359

Closed
bob-beck wants to merge 1 commit into
openssl:masterfrom
bob-beck:foo
Closed

bob-beck wants to merge 1 commit into
openssl:masterfrom
bob-beck:foo

Conversation

@bob-beck

@bob-beck bob-beck commented Dec 9, 2025 •

Copy link
Copy Markdown
Contributor

This one is pretty special, we should ponder simplifying some of
the clever preprocessor stuff here, but for now..

For the uninitiated, this list is a list of macros that include semicolons at the end of them, so that clang-format will treat them as such

Normally I'd say we should avoid such things. (or encase in do{} while(0)) etc

Checklist
  • documentation is added or updated
  • tests are added or updated

@bob-beck
bob-beck marked this pull request as ready for review December 9, 2025 16:16
@bob-beck
bob-beck marked this pull request as draft December 9, 2025 16:18
This one is pretty special, we should ponder simplifying some of
the clever preprocessor stuff here, but for now..
@bob-beck bob-beck changed the title fix declaration format Add static_ASN1_SEQUENCE_END to the list of statement macros Dec 9, 2025
@bob-beck
bob-beck marked this pull request as ready for review December 9, 2025 16:38
@mattcaswell mattcaswell added branch: master Applies to master branch approval: review pending This pull request needs review by a committer triaged: cleanup The issue/pr deals with cleanup of comments/docs not altering code significantly branch: 3.0 Applies to openssl-3.0 branch (EOL) branch: 3.3 Applies to openssl-3.3 (EOL) branch: 3.4 Applies to openssl-3.4 (EOL) branch: 3.5 Applies to openssl-3.5 branch: 3.6 Applies to openssl-3.6 (EOL) tests: exempted The PR is exempt from requirements for testing labels Dec 9, 2025
@t8m t8m added triaged: bug The issue/pr is/fixes a bug approval: done This pull request has the required number of approvals and removed approval: review pending This pull request needs review by a committer labels Dec 9, 2025
@levitte

levitte commented Dec 9, 2025

Copy link
Copy Markdown
Member

Normally I'd say we should avoid such things. (or encase in do{} while(0)) etc

Couldn't agree more.

@openssl-machine

Copy link
Copy Markdown
Collaborator

24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set. Please review the updates and set the label manually.

@t8m t8m added approval: ready to merge The 24 hour grace period has passed, ready to merge and removed approval: done This pull request has the required number of approvals labels Dec 11, 2025
openssl-machine pushed a commit that referenced this pull request Dec 11, 2025
This one is pretty special, we should ponder simplifying some of
the clever preprocessor stuff here, but for now..

Reviewed-by: Matt Caswell <[email protected]>
Reviewed-by: Richard Levitte <[email protected]>
Reviewed-by: Tomas Mraz <[email protected]>
(Merged from #29359)
openssl-machine pushed a commit that referenced this pull request Dec 11, 2025
This one is pretty special, we should ponder simplifying some of
the clever preprocessor stuff here, but for now..

Reviewed-by: Matt Caswell <[email protected]>
Reviewed-by: Richard Levitte <[email protected]>
Reviewed-by: Tomas Mraz <[email protected]>
(Merged from #29359)

(cherry picked from commit ba4970a)
openssl-machine pushed a commit that referenced this pull request Dec 11, 2025
This one is pretty special, we should ponder simplifying some of
the clever preprocessor stuff here, but for now..

Reviewed-by: Matt Caswell <[email protected]>
Reviewed-by: Richard Levitte <[email protected]>
Reviewed-by: Tomas Mraz <[email protected]>
(Merged from #29359)

(cherry picked from commit ba4970a)
@t8m t8m removed branch: 3.0 Applies to openssl-3.0 branch (EOL) branch: 3.3 Applies to openssl-3.3 (EOL) branch: 3.4 Applies to openssl-3.4 (EOL) labels Dec 11, 2025
@t8m

t8m commented Dec 11, 2025

Copy link
Copy Markdown
Member

Merged to the master, 3.6 and 3.5 branches. Thank you.

@t8m t8m closed this Dec 11, 2025
esyr pushed a commit to esyr/openssl that referenced this pull request Apr 1, 2026
This one is pretty special, we should ponder simplifying some of
the clever preprocessor stuff here, but for now..

Original-PR: openssl#29359
Original-Commit: ba4970a "Add static_ASN1_SEQUENCE_END to the list of statment macros"
esyr pushed a commit to esyr/openssl that referenced this pull request Apr 1, 2026
This one is pretty special, we should ponder simplifying some of
the clever preprocessor stuff here, but for now..

Original-PR: openssl#29359
Original-Commit: ba4970a "Add static_ASN1_SEQUENCE_END to the list of statment macros"
esyr pushed a commit to esyr/openssl that referenced this pull request Apr 1, 2026
This one is pretty special, we should ponder simplifying some of
the clever preprocessor stuff here, but for now..

Original-PR: openssl#29359
Original-Commit: ba4970a "Add static_ASN1_SEQUENCE_END to the list of statment macros"
openssl-machine pushed a commit that referenced this pull request Apr 3, 2026
This one is pretty special, we should ponder simplifying some of
the clever preprocessor stuff here, but for now..

Original-PR: #29359
Original-Commit: ba4970a "Add static_ASN1_SEQUENCE_END to the list of statment macros"

Reviewed-by: Nikola Pajkovsky <[email protected]>
Reviewed-by: Neil Horman <[email protected]>
Reviewed-by: Tomas Mraz <[email protected]>
MergeDate: Fri Apr  3 14:50:52 2026
(Merged from #29823)
openssl-machine pushed a commit that referenced this pull request Apr 3, 2026
This one is pretty special, we should ponder simplifying some of
the clever preprocessor stuff here, but for now..

Original-PR: #29359
Original-Commit: ba4970a "Add static_ASN1_SEQUENCE_END to the list of statment macros"

Reviewed-by: Nikola Pajkovsky <[email protected]>
Reviewed-by: Tomas Mraz <[email protected]>
MergeDate: Fri Apr  3 14:51:53 2026
(Merged from #29824)
openssl-machine pushed a commit that referenced this pull request Apr 3, 2026
This one is pretty special, we should ponder simplifying some of
the clever preprocessor stuff here, but for now..

Original-PR: #29359
Original-Commit: ba4970a "Add static_ASN1_SEQUENCE_END to the list of statment macros"

Reviewed-by: Nikola Pajkovsky <[email protected]>
Reviewed-by: Tomas Mraz <[email protected]>
MergeDate: Fri Apr  3 14:52:56 2026
(Merged from #29825)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approval: ready to merge The 24 hour grace period has passed, ready to merge branch: master Applies to master branch branch: 3.5 Applies to openssl-3.5 branch: 3.6 Applies to openssl-3.6 (EOL) tests: exempted The PR is exempt from requirements for testing triaged: bug The issue/pr is/fixes a bug triaged: cleanup The issue/pr deals with cleanup of comments/docs not altering code significantly

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants