ios: Do not log the private key

This commit is contained in:
Vishesh Handa
2019-06-03 10:13:45 +02:00
parent 6c4c0a9a0d
commit b56aad7a48

View File

@ -30,6 +30,10 @@ NSString* GetDirectoryOfType(NSSearchPathDirectory dir) {
NSLog(@"Called %@", method);
if (arguments != nil) {
for (NSString *key in [arguments allKeys]) {
if ([key isEqualToString:@"privateKey"]) {
NSLog(@". privateKey: <hidden>");
continue;
}
NSLog(@". %@: %@", key, [arguments objectForKey:key]);
}
}