Skip to content

fix: Removing extra bracket in UnityTransport #2253

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

Merged
merged 3 commits into from
Oct 13, 2022

Conversation

fluong6
Copy link
Collaborator

@fluong6 fluong6 commented Oct 13, 2022

There is an extra bracket in the else statement when we set the client security parameters.

Changelog

None

Testing and Documentation

  • CI

@fluong6 fluong6 changed the title Removing extra bracket in UnityTransport fix: Removing extra bracket in UnityTransport Oct 13, 2022
@fluong6 fluong6 requested a review from ashwinimurt October 13, 2022 16:36
@fluong6 fluong6 marked this pull request as ready for review October 13, 2022 18:25
@fluong6 fluong6 requested a review from a team as a code owner October 13, 2022 18:25
@fluong6 fluong6 requested a review from a team as a code owner October 13, 2022 18:28
@@ -1474,7 +1474,7 @@ public void SetClientSecrets(string serverCommonName, string caCertificate = nul
}
else
{
m_NetworkSettings.WithSecureClientParameters(m_ClientCaCertificate, m_ServerCommonName));
m_NetworkSettings.WithSecureClientParameters(m_ClientCaCertificate, m_ServerCommonName);
Copy link
Contributor

Choose a reason for hiding this comment

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

Ugh. How did that slip by ? :-)

Copy link
Contributor

Choose a reason for hiding this comment

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

Probably a typo on my end when I updated to the new string-based APIs. I hadn't realized that encryption support was behind the UTP 2.0 define, so hadn't thought of trying to compile with that installed.

@fluong6 fluong6 enabled auto-merge (squash) October 13, 2022 19:04
@fluong6 fluong6 merged commit ac8ce24 into develop Oct 13, 2022
@fluong6 fluong6 deleted the fix/removing-extra-bracket-in-unitytransport branch October 13, 2022 19:25
jakobbbb pushed a commit to GooseGirlGames/com.unity.netcode.gameobjects that referenced this pull request Feb 22, 2023
* removing extra bracket

* adding tmp commit to pass the semantic pull request check

* Revert "adding tmp commit to pass the semantic pull request check"

This reverts commit d7f9296.
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.

3 participants