Skip to content

Commit

Permalink
Fix podspec validation issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon Siegel committed Sep 17, 2020
1 parent 1aea360 commit 2152d62
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions AzureSDK.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Pod::Spec.new do |s|
s.version = '1.0.0-beta.1'
s.summary = 'Azure SDK for iOS'
s.description = <<-DESC
Azure SDK for iOS
Azure SDK for iOS client libraries
DESC

s.homepage = 'https://github.com/Azure/azure-sdk-for-ios'
Expand All @@ -43,10 +43,10 @@ Pod::Spec.new do |s|

# TODO: Change this to a tag reference when we are ready.
s.source = { :git => 'https://github.com/mitchdenny/azure-sdk-for-ios.git',
:branch => 'setup-podspec' }
:branch => 'master' }

# AzureCore
s.subspec 'AzureCore' do |azurecore|
azurecore.source_files = 'sdk/core/AzureCore/Source/**/*.{swift,h,m}'
end
end
end
2 changes: 1 addition & 1 deletion sdk/core/AzureCore/Source/Util/CryptoUtil.swift
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public enum CryptoAlgorithm {
let result = UnsafeMutablePointer<UInt8>.allocate(capacity: digestLen)
defer { result.deallocate() }

_ = key.withUnsafeBytes { keyBytes in
key.withUnsafeBytes { keyBytes in
CCHmac(self.hmacAlgorithm, keyBytes.baseAddress, key.count, data, dataLength, result)
}

Expand Down

0 comments on commit 2152d62

Please sign in to comment.