Experimental SSL support
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
|
||||
BOOL HookIMAgent(const char *relativeDylibPath, char **errorString)
|
||||
{
|
||||
NSLog(@"Hooking imagent");
|
||||
MBIMLogInfo(@"Hooking imagent");
|
||||
|
||||
const char *hookDylibPath = realpath(relativeDylibPath, NULL);
|
||||
|
||||
@@ -61,10 +61,10 @@ BOOL HookIMAgent(const char *relativeDylibPath, char **errorString)
|
||||
return NO;
|
||||
}
|
||||
|
||||
NSLog(@"Successfully setup environment variables");
|
||||
MBIMLogInfo(@"Successfully setup environment variables");
|
||||
|
||||
// Kill imagent so the new one has the loaded bundle
|
||||
NSLog(@"Killing imagent...");
|
||||
MBIMLogInfo(@"Killing imagent...");
|
||||
int killAgentSuccess = system("killall imagent");
|
||||
|
||||
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
||||
|
||||
Reference in New Issue
Block a user