smimesign icon indicating copy to clipboard operation
smimesign copied to clipboard

Replace deprecated Darwin CGO calls

Open tcooper-uk opened this issue 3 years ago • 1 comments

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

tcooper-uk avatar May 08 '23 16:05 tcooper-uk

@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 🙂.

tcooper-uk avatar May 08 '23 16:05 tcooper-uk