Skip to content

Commit

Permalink
remove unecessary wrappers around CFRelease
Browse files Browse the repository at this point in the history
  • Loading branch information
sbSteveK committed Sep 23, 2024
1 parent 3341c7c commit c6aa207
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions source/darwin/darwin_pki_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -376,19 +376,11 @@ int aws_import_trusted_certificates(
return err;
}

void aws_release_identity(CFArrayRef identity) {
CFRelease(identity);
}

void aws_release_certificates(CFArrayRef certs) {
CFRelease(certs);
}

/*
* Apple's Network framework and SecItem API use of the data protection keychain is currently only implemented
* on iOS. We may add support for macOS at a later date.
* on iOS and tvOS. We may add support for MacOS at a later date.
*
* macOS migration from currently deprecated Secure Transport API and file based keychain to
* MacOS migration from currently deprecated Secure Transport API and file based keychain to
* Network framework will require it we also migrate from BSD Sockets to Apple's Network Framework.
*
* From a breaking existing users perspective, we must also find a way to continue support for the
Expand Down

0 comments on commit c6aa207

Please sign in to comment.