summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Costen <tim.costen@isode.com>2019-10-16 15:23:48 (GMT)
committerTim Costen <timcosten64@gmail.com>2019-10-18 13:58:43 (GMT)
commit8e0a9cd6a608ee2bf83b52c9eb9ac556bf10293f (patch)
treebe534baf4c71d58c08244bdd5de296f5c3570445 /Swift/Packaging/Source
parent7de9a3489c3e2ddc4c0ab78f43649c5d6be20aca (diff)
downloadswift-8e0a9cd6a608ee2bf83b52c9eb9ac556bf10293f.zip
swift-8e0a9cd6a608ee2bf83b52c9eb9ac556bf10293f.tar.bz2
Extend getPeerCertificateChain
Extend getPeerCertificateChain so that it uses the correct SSL methods for Server and Client mode contexts, i.e. SSL_get_peer_certificate as well as get_peer_cert_chain when this is a server-mode context. Tidy up error message logged on certificate verification failure. Always return "1" from verifyCallback; check result of certificate verification by a call to getPeerCertificateVerificationError() once the TLS session is established. JIRA: LINK-1814 Bug: Release-notes: Manual: Change-Id: Ica1d90998187ec5ce2584d48bd6fbfb8f9a667c9 Test-information:
Diffstat (limited to 'Swift/Packaging/Source')
0 files changed, 0 insertions, 0 deletions