AFNetworking/AFNetworking — pull request #1467 by nessence (2013-10-08 11:15:48+00:00)
Title: Ensure full certificate chain is verified to prevent false positives fro...

Please see email to mattt :)

Ensure full certificate chain is verified to prevent false positives from compromised certificate chains and ensure developer includes full cert chain. Ensure trust is validated before evaluating certificate. Security policy tests pass with changes. Prior to changes, tests for setSSLPinningMode:AFSSLPinningModePublicKey and setSSLPinningMode:AFSSLPinningModeCertificate would pass when one or more certificates weren't bundled.