From 57f129d6d503dc68aecc0ed458771d91f062290b Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Sat, 5 Mar 2011 15:21:36 +0000 Subject: Fix bug that was incorrectly saving the wrong SSH password to the Keychain. --- Source/SPConnectionController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source') diff --git a/Source/SPConnectionController.m b/Source/SPConnectionController.m index 49dcb542..258d442a 100644 --- a/Source/SPConnectionController.m +++ b/Source/SPConnectionController.m @@ -1444,7 +1444,7 @@ static NSComparisonResult compareFavoritesUsingKey(id favorite1, id favorite2, v // Add the new keychain item if the password field has a value if ([[sshPasswordField stringValue] length]) { - [keychain addPassword:[sshPasswordField stringValue] forName:newKeychainName account:newKeychainAccount]; + [keychain addPassword:[sshSSHPasswordField stringValue] forName:newKeychainName account:newKeychainAccount]; } } -- cgit v1.2.3