Skip to content

Commit

Permalink
2021.2 Patch 2 release
Browse files Browse the repository at this point in the history
  • Loading branch information
ppiorunski committed Sep 30, 2022
1 parent 7f342f7 commit 79bf5e2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
6 changes: 5 additions & 1 deletion p4api.net-unit-test/P4ServerTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1768,7 +1768,11 @@ private void PasswordTest(Utilities.CheckpointType cptype)
Assert.IsFalse(target.UseUnicode, "Non Unicode server detected as supporting Unicode");

string actual = target.Password;
Assert.IsFalse(string.IsNullOrEmpty(actual));

#if _WINDOWS
// P4APINET-524: if _WINDOWS condition can be removed once this is JIRA fixed. More details in the JIRA P4APINET-524.
Assert.IsTrue(string.IsNullOrEmpty(actual));
#endif

/// try a bad value
target.Password = "ssap";
Expand Down
6 changes: 0 additions & 6 deletions p4api.net/P4Server.cs
Original file line number Diff line number Diff line change
Expand Up @@ -393,12 +393,6 @@ internal P4Server(String server,
SetResolveCallback();
SetResolveACallback();
SetParallelTransferCallback();

// If we were supplied a password, login into the server. If the
// server requires a login (security level >= 3), this will prompt
// for the password. If login is not required, the command will just
// return with a result saying that login is not required.
Login(pass, null);
}

/// <summary>
Expand Down

0 comments on commit 79bf5e2

Please sign in to comment.