Skip to content

Commit

Permalink
Fix whitespaces in vault_darwin.c (#1206)
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksmaus authored Sep 14, 2022
1 parent a7c48ef commit 270295f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions internal/pkg/agent/vault/vault_darwin.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,10 @@ OSStatus RemoveKeychainItem(SecKeychainRef keychain, const char *name, const cha
char* GetOSStatusMessage(OSStatus status) {
CFStringRef s = SecCopyErrorMessageString(status, NULL);
char *p;
int n;
n = CFStringGetLength(s)*8;
p = malloc(n);
CFStringGetCString(s, p, n, kCFStringEncodingUTF8);
int n;
n = CFStringGetLength(s)*8;
p = malloc(n);
CFStringGetCString(s, p, n, kCFStringEncodingUTF8);
CFRelease(s);
return p;
return p;
}

0 comments on commit 270295f

Please sign in to comment.