Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Removed ambiguous array creation in AFSecurityPolicy #3679

Merged
merged 1 commit into from
Oct 11, 2016

Conversation

sgl0v
Copy link
Contributor

@sgl0v sgl0v commented Sep 9, 2016

Removed ambiguous array creation in AFSecurityPolicy. According to SecTrustCreateWithCertificates documentation:

If you want to specify only one certificate, you can pass a SecCertificateRef object; otherwise, pass an array of SecCertificateRef objects.

@kcharwood
Copy link
Contributor

Can you rebase this with master to get Xcode 8 coverage?

…CreateWithCertificates takes SecCertificateRef object or an array of certificates.
@sgl0v
Copy link
Contributor Author

sgl0v commented Oct 10, 2016

@kcharwood Done.

@kcharwood kcharwood added this to the 3.2.0 milestone Oct 11, 2016
@kcharwood kcharwood merged commit 9fea224 into AFNetworking:master Oct 11, 2016
@kcharwood
Copy link
Contributor

Thanks!

@kcharwood kcharwood changed the title Removed ambiguous array creation in AFSecurityPolicy Removed ambiguous array creation in AFSecurityPolicy Oct 11, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants