Describe the feature
This does not need to be fixed here, but suggestions are greatly appreciated.
Currently the library unconditionally uses SecureTransport on macOS. However, SecureTransport is not supported in older macOS versions (or may not have required features implemented).
What is a suitable fallback in such a case? I know how to add code conditionally, but I am not sure whether existing posix code gonna work correctly and which settings are to be chosen.
I can build aws-c-io without SecureTransport with minimal patches: https://github.com/macos-powerpc/powerpc-ports/tree/8db8b66eb3ea4a2d73aaf16822fe410747669161/devel/aws-c-io/files
If those are okay, then all good. If not, if will be very helpful to know what to change.
Use Case
This is needed to have AWS libs working on legacy macOS versions. (Yes, a niche case, and I am fine to carry patches in my repo, if it is not acceptable to add them here.)
It may be also useful for testing, as a non-default (possibly developer) option, on modern macOS.
Proposed Solution
Fall back to generic POSIX when SecureTransport-based implementation is unsupported.
Other Information
No response
Acknowledgements
Describe the feature
This does not need to be fixed here, but suggestions are greatly appreciated.
Currently the library unconditionally uses SecureTransport on macOS. However, SecureTransport is not supported in older macOS versions (or may not have required features implemented).
What is a suitable fallback in such a case? I know how to add code conditionally, but I am not sure whether existing posix code gonna work correctly and which settings are to be chosen.
I can build
aws-c-iowithout SecureTransport with minimal patches: https://github.com/macos-powerpc/powerpc-ports/tree/8db8b66eb3ea4a2d73aaf16822fe410747669161/devel/aws-c-io/filesIf those are okay, then all good. If not, if will be very helpful to know what to change.
Use Case
This is needed to have AWS libs working on legacy macOS versions. (Yes, a niche case, and I am fine to carry patches in my repo, if it is not acceptable to add them here.)
It may be also useful for testing, as a non-default (possibly developer) option, on modern macOS.
Proposed Solution
Fall back to generic POSIX when SecureTransport-based implementation is unsupported.
Other Information
No response
Acknowledgements