This project is based on Kitura/OpenSSL
Also refer to the dependency replacement on OuterCorner/OpenSSL memory macOS. If you trust this project, you can add dependencies through SPM:
dependencies: [ .package(url: "https://github.com/MartinLau7/SwiftOpenSSL", from: "22.214.171.124016") ]
If you don't believe the XCFramework in the project, you can
git clone and use the script to make a new build.
Swift modulemaps for libSSL and libcrypto.
Supported Swift version
This package supports Swift 5+ .