Skip to content

Commit

Permalink
Do not print value of prompt selector flag to stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
sorah committed Apr 23, 2024
1 parent dd88d55 commit d244e6a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions envchain_osx.c
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,6 @@ envchain_save_value(const char *name, const char *key, char *value, int require_
if (status != noErr) goto passfail;
if (app_list != NULL) CFRelease(app_list);

printf("%16x", prompt);
if(require_passphrase == 1) {
if (prompt == 0) prompt = 0x100;
prompt |= kSecKeychainPromptRequirePassphase;
Expand All @@ -433,7 +432,6 @@ envchain_save_value(const char *name, const char *key, char *value, int require_
app_list = envchain_self_trusted_app_list();
}

printf("%16x", prompt);
status = SecACLSetContents(acl, app_list, desc, prompt);
if (status != noErr) goto passfail;

Expand Down

0 comments on commit d244e6a

Please sign in to comment.