github / github/smimesign

SecTrustEvaluate is deprecated

Open
#85 1 comment 4 reactions 0 assignees View on GitHub
certstore
Dominant language
Go
Stars
657
Forks
154
PR merge metrics
No merged PRs in 30d

Description

When compiling on macOS 10.15.6 with xcode 12.0.1:

```
cgo-gcc-prolog:473:11: warning: 'SecTrustEvaluate' is deprecated: first deprecated in macOS 10.15 [-Wdeprecated-declarations]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h:353:10: note: 'SecTrustEvaluate' has been explicitly marked deprecated here
```

According to the doc, SecTrustEvaluateWithError should be used.
https://developer.apple.com/documentation/security/2980705-sectrustevaluatewitherror

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.