mirror of
https://github.com/apple/swift-nio-ssl
synced 2026-11-27 05:04:24 +00:00
Motivation: There are a number of dangerous portions of CNIOOpenSSL that make it tricky to use. This mostly doesn't manifest in debug mode, or in this module, but when compiling in release mode or when others use this module it can all go subtly wrong. We should make this module easier to use correctly. Modifications: - Remove the constant defined in the header file, replace with #define. - Move all static inline declarations to regular function declarations. Result: Fewer compile errors, easier to use this module.