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 handling of certificate validity policy in CHIPDeviceControllerFactory. #26526

Conversation

bzbarsky-apple
Copy link
Contributor

When we created a new system state, we lost track of the certificate validity policy (since it's not stored in the system state and was not copied from the old one to the new one).

Just store it in the controller factory like other things of that sort, so we make sure to propagate it to all system states.

…ctory.

When we created a new system state, we lost track of the certificate validity
policy (since it's not stored in the system state and was not copied from the
old one to the new one).

Just store it in the controller factory like other things of that sort, so we
make sure to propagate it to all system states.
@github-actions
Copy link

PR #26526: Size comparison from 305c026 to 783808d

Decreases (1 build for cc32xx)
platform target config section 305c026 783808d change % change
cc32xx lock CC3235SF_LAUNCHXL .debug_info 19678200 19678199 -1 -0.0
Full report (1 build for cc32xx)
platform target config section 305c026 783808d change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 605018 605018 0 0.0
(read/write) 204164 204164 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197576 197576 0 0.0
.comment 206 206 0 0.0
.data 1468 1468 0 0.0
.debug_abbrev 958615 958615 0 0.0
.debug_aranges 101232 101232 0 0.0
.debug_frame 342084 342084 0 0.0
.debug_info 19678200 19678199 -1 -0.0
.debug_line 2673606 2673606 0 0.0
.debug_line_str 513 513 0 0.0
.debug_loc 33340 33340 0 0.0
.debug_loclists 1491157 1491157 0 0.0
.debug_ranges 4984 4984 0 0.0
.debug_rnglists 94412 94412 0 0.0
.debug_str 3131974 3131974 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 104322 104322 0 0.0
.shstrtab 265 265 0 0.0
.stack 2048 2048 0 0.0
.strtab 483172 483172 0 0.0
.symtab 287232 287232 0 0.0
.text 498572 498572 0 0.0

@bzbarsky-apple bzbarsky-apple merged commit 10af55d into project-chip:master May 12, 2023
bzbarsky-apple added a commit to bzbarsky-apple/connectedhomeip that referenced this pull request May 12, 2023
…ctory. (project-chip#26526)

When we created a new system state, we lost track of the certificate validity
policy (since it's not stored in the system state and was not copied from the
old one to the new one).

Just store it in the controller factory like other things of that sort, so we
make sure to propagate it to all system states.
@bzbarsky-apple bzbarsky-apple deleted the controller-system-state-certificate-policy branch May 12, 2023 13:13
andy31415 pushed a commit that referenced this pull request May 12, 2023
…ctory. (#26526) (#26545)

When we created a new system state, we lost track of the certificate validity
policy (since it's not stored in the system state and was not copied from the
old one to the new one).

Just store it in the controller factory like other things of that sort, so we
make sure to propagate it to all system states.
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.

6 participants