diff options
author | stuconnolly <stuart02@gmail.com> | 2009-08-07 22:27:09 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2009-08-07 22:27:09 +0000 |
commit | 1e2d1c7724e7077053862048dac4830a95dd82cd (patch) | |
tree | ece7b1bd6068f6ab36e993ed23eacf956cd81767 /Source/SPSSHTunnel.m | |
parent | d7e813476d49f3b9296b94c3c57a495b7f237885 (diff) | |
download | sequelpro-1e2d1c7724e7077053862048dac4830a95dd82cd.tar.gz sequelpro-1e2d1c7724e7077053862048dac4830a95dd82cd.tar.bz2 sequelpro-1e2d1c7724e7077053862048dac4830a95dd82cd.zip |
Rename Keychain class.
Diffstat (limited to 'Source/SPSSHTunnel.m')
-rw-r--r-- | Source/SPSSHTunnel.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/SPSSHTunnel.m b/Source/SPSSHTunnel.m index d086c8ce..01ab721d 100644 --- a/Source/SPSSHTunnel.m +++ b/Source/SPSSHTunnel.m @@ -25,7 +25,7 @@ #import "SPSSHTunnel.h" #import "RegexKitLite.h" -#import "KeyChain.h" +#import "SPKeychain.h" #import <netinet/in.h> @implementation SPSSHTunnel @@ -510,7 +510,7 @@ NSSize queryTextSize; NSRect windowFrameRect; NSString *thePassword; - KeyChain *keychain; + SPKeychain *keychain; // Work out whether a passphrase is being requested, extracting the key name NSString *keyName = [theQuery stringByMatching:@"^\\s*Enter passphrase for key \\'(.*)\\':\\s*$" capture:1L]; @@ -543,7 +543,7 @@ // Add to keychain if appropriate if (keyName && [sshPasswordKeychainCheckbox state] == NSOnState) { - keychain = [[KeyChain alloc] init]; + keychain = [[SPKeychain alloc] init]; [keychain addPassword:thePassword forName:@"SSH" account:keyName withLabel:[NSString stringWithFormat:@"SSH: %@", keyName]]; [keychain release]; } |