Skip to content

Commit

Permalink
Merge pull request #67 from IdeasOnCanvas/enhancement/redundantResult…
Browse files Browse the repository at this point in the history
…Ignore

Prepare for new Xcode version
  • Loading branch information
weichsel authored Jul 28, 2020
2 parents 98f4ccb + f8d69b3 commit 0ea2eb8
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,13 @@ private extension AppReceiptValidator {
var sha1Context = SHA_CTX()

SHA1_Init(&sha1Context)
_ = deviceIdentifierData.withUnsafeBytes { pointer -> Void in
deviceIdentifierData.withUnsafeBytes { pointer -> Void in
SHA1_Update(&sha1Context, pointer.baseAddress, deviceIdentifierData.count)
}
_ = receiptOpaqueValueData.withUnsafeBytes { pointer -> Void in
receiptOpaqueValueData.withUnsafeBytes { pointer -> Void in
SHA1_Update(&sha1Context, pointer.baseAddress, receiptOpaqueValueData.count)
}
_ = receiptBundleIdData.withUnsafeBytes { pointer -> Void in
receiptBundleIdData.withUnsafeBytes { pointer -> Void in
SHA1_Update(&sha1Context, pointer.baseAddress, receiptBundleIdData.count)
}
SHA1_Final(&computedHash, &sha1Context)
Expand Down

0 comments on commit 0ea2eb8

Please sign in to comment.