smimesign
smimesign copied to clipboard
Replace deprecated Darwin CGO calls
Both SecTrustEvaluate and SecTrustGetCertificateAtIndex are now marked as deprecated and show up as build warnings. This PR updates these calls to use new APIs.
I can see this is also raised in https://github.com/github/smimesign/issues/85.
These changes are covered by:
- TestCertificateRSA
- TestCertificateEC
@vcsjones possibly a suitable reviewer. This project seems to be a little quiet these days so I'm just taking a guess by GH profiles 🙂.