krzyzanowskim / OpenSSL

OpenSSL package for SwiftPM, CocoaPod, and Carthage, multiplatform
https://swift.best
Other
928 stars 340 forks source link

where X509_get_notAfter #190

Closed john-07 closed 10 months ago

john-07 commented 10 months ago

Can't get expire date

krzyzanowskim commented 10 months ago

here https://github.com/krzyzanowskim/OpenSSL/blob/2fec2333eb8e8a6acd08bc95a6edf1c0f391c42f/Frameworks/macosx_catalyst/OpenSSL.framework/Versions/A/Headers/x509.h#L856 but it's a C macro and Swift does not import C macros