Browse Source

Added comment

merge-experiment
Hoa V. DINH 8 years ago
parent
commit
3bab421ef4
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/data-types/mailstream_cfstream.c

+ 2
- 0
src/data-types/mailstream_cfstream.c View File

@ -988,6 +988,7 @@ int mailstream_cfstream_set_ssl_enabled(mailstream * s, int ssl_enabled)
continue;
}
// SecTrustEvaluate() needs to be called before SecTrustGetCertificateCount() in Mac OS X <= 10.8
SecTrustEvaluate(secTrust, NULL);
CFIndex count = SecTrustGetCertificateCount(secTrust);
CFRelease(secTrust);
@ -1168,6 +1169,7 @@ static carray * mailstream_low_cfstream_get_certificate_chain(mailstream_low * s
if (secTrust == NULL)
return NULL;
// SecTrustEvaluate() needs to be called before SecTrustGetCertificateCount() in Mac OS X <= 10.8
SecTrustEvaluate(secTrust, NULL);
CFIndex count = SecTrustGetCertificateCount(secTrust);


Loading…
Cancel
Save