• Show log

    Commit

  • Hash : 9884dd61
    Author : Carlos Martín Nieto
    Date : 2016-08-05T18:40:37

    SecureTransport: handle NULL trust on success
    
    The `SSLCopyPeerTrust` call can succeed but fail to return a trust
    object if it can't load the certificate chain and thus cannot check the
    validity of a certificate. This can lead to us calling `CFRelease` on a
    `NULL` trust object, causing a crash.
    
    Handle this by returning ECERTIFICATE.