-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Securing Rendezvous messages #2658
Securing Rendezvous messages #2658
Conversation
c191c77
to
da022e2
Compare
da022e2
to
f3872d7
Compare
if (err != CHIP_NO_ERROR) | ||
{ | ||
mPairingInProgress ? OnPairingError(err) : OnRendezvousError(err); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason not to follow suit and use the SuccessOrExit(err);
and exit:
design here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SuccessOrExit(err);
mPairingInProgress ? OnPairingError(err) : OnRendezvousError(err);
exit:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Vivien's comment above applies
f3872d7
to
f9c7202
Compare
Fixes #2239 |
Problem
Encrypt messages sent over Rendezvous
fixes #2219