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

Reconnect on cert change #205

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

mlohvynenko
Copy link

@mlohvynenko mlohvynenko commented Oct 15, 2024

@mlohvynenko mlohvynenko force-pushed the feature_renew_certs branch 3 times, most recently from 8fbe210 to 74d7753 Compare October 17, 2024 07:46
@mlohvynenko mlohvynenko changed the title [iamclient] Reconnect on cert change Reconnect on cert change Oct 17, 2024
src/communication/tlschannel.cpp Outdated Show resolved Hide resolved
src/iamclient/iamclient.cpp Outdated Show resolved Hide resolved
src/iamclient/iamclient.cpp Outdated Show resolved Hide resolved
src/iamclient/iamclient.cpp Outdated Show resolved Hide resolved
src/smclient/smclient.cpp Outdated Show resolved Hide resolved
src/smclient/smclient.cpp Outdated Show resolved Hide resolved
src/smclient/smclient.cpp Outdated Show resolved Hide resolved
src/smclient/smclient.cpp Outdated Show resolved Hide resolved
@@ -83,6 +83,12 @@ Error IAMClient::Stop()
mClockSync->Unsubscribe(*this);
mNodeInfoProvider->UnsubscribeNodeStatusChanged(*this);

#ifndef CONFIG_ZTEST
Copy link
Contributor

Choose a reason for hiding this comment

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

why ifndef required?

Copy link
Author

Choose a reason for hiding this comment

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

for mCertHandler :)
It's removed from members if CONFIG_ZTEST is defined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants