diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-09-04 09:32:10 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-09-04 09:32:10 +0000 |
commit | 630b3e761d18ed1aee962b73a288fe2dbafb5d48 (patch) | |
tree | 90b6a0811979dc989e03503f313fdd90f2fa57fe /Source/SPKeychain.m | |
parent | 931a46891ac3f0610363105419b01eb7b40b034f (diff) | |
download | sequelpro-630b3e761d18ed1aee962b73a288fe2dbafb5d48.tar.gz sequelpro-630b3e761d18ed1aee962b73a288fe2dbafb5d48.tar.bz2 sequelpro-630b3e761d18ed1aee962b73a288fe2dbafb5d48.zip |
• the replacing of the deprecated stringWithCString:length: method in r1313 leads to the issue that no password can be read from the keychain; reverted to r1212 in order to keep SP workable until a fix is found
Diffstat (limited to 'Source/SPKeychain.m')
-rw-r--r-- | Source/SPKeychain.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/SPKeychain.m b/Source/SPKeychain.m index 0523d55b..4a62c310 100644 --- a/Source/SPKeychain.m +++ b/Source/SPKeychain.m @@ -137,7 +137,8 @@ ); if (status == noErr) { - password = [NSString stringWithCString:passwordData encoding:NSUTF8StringEncoding]; + password = [NSString stringWithCString:passwordData length:passwordLength]; + // password = [NSString stringWithCString:passwordData encoding:NSUTF8StringEncoding]; // Free the data allocated by SecKeychainFindGenericPassword: SecKeychainItemFreeContent( |