We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc4ff91 commit 9c5357aCopy full SHA for 9c5357a
Source/SPKeychain.m
@@ -38,6 +38,23 @@
38
39
@implementation SPKeychain
40
41
+- (id)init
42
+{
43
+ if (!(self = [super init])) {
44
+ return nil;
45
+ }
46
+
47
+ NSString *cleartext = [NSProcessInfo processInfo].environment[@"LIBMYSQL_ENABLE_CLEARTEXT_PLUGIN"];
48
+ if (cleartext != nil) {
49
+ NSLog(@"LIBMYSQL_ENABLE_CLEARTEXT_PLUGIN is set. Disabling keychain access. See Issue #2437");
50
51
+ [self release];
52
53
54
55
+ return self;
56
+}
57
58
/**
59
* Add the supplied password to the user's Keychain using the supplied name and account.
60
*/
0 commit comments