bool flag_s(false);
bool flag_D(false);
+ bool flag_d(false);
bool flag_A(false);
bool flag_a(false);
} break;
case 'D': flag_D = true; break;
+ case 'd': flag_d = true; break;
case 'a': flag_a = true; break;
_assert(flag_S || key.empty());
_assert(flag_S || flag_I == NULL);
+ if (flag_d && !flag_h) {
+ flag_h = true;
+ fprintf(stderr, "WARNING: -d also (temporarily) does the behavior of -h for compatibility with a fork of ldid\n");
+ }
+
if (files.empty())
return 0;
#endif
}
+ if (flag_d && encryption != NULL) {
+ printf("cryptid=%d\n", mach_header.Swap(encryption->cryptid));
+ }
+
if (flag_D) {
_assert(encryption != NULL);
encryption->cryptid = mach_header.Swap(0);