mirror of
https://github.com/apple/swift-nio-ssl
synced 2026-11-26 04:57:52 +00:00
* Update BoringSSL to 25773430c07075a368416c3646fa4b07daf4968a * Clean up the use of the X509 pointer Motivation: BoringSSL has begun opaquifying their X.509 library. This unfortunately manifests as source code changes in Swift due to the way OpaquePointer behaves. As a result, we need to change the places that held an X.509 pointer directly. While we're here, we've been playing a bit fast-and-loose with the lifetime of owned pointers. We should take this opportunity to clean things up and be a bit better behaved. Modifications: - Replace the X509 pointers with OpaquePointer - Use scoped access to the X.509 access outside the NIOSSLCertificate class. Result: Code compiles with better pointer hygeine.