mirror of
https://github.com/apple/swift-nio-ssl
synced 2026-11-24 04:38:08 +00:00
Currently, the certs returned by the sslContextCallback are added to the context, rather than replacing the certs already in the context. This means that, if a callback is used to return a new chain to be used, the old and new chains are both presented (but only the new leaf). This should not cause any problem, but it is inefficient Change: Clear the additional certs before adding the new ones