[security] Update for Xcode 10.1 beta 2 (#5000)

This commit is contained in:
Vincent Dondain 2018-10-16 20:49:30 -04:00 коммит произвёл Sebastien Pouliot
Родитель 12c747c598
Коммит 082e36b4c8
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -129,6 +129,10 @@ namespace Security {
[DllImport (Constants.SecurityLibrary)]
extern static SecStatusCode /* OSStatus */ SecTrustEvaluate (IntPtr /* SecTrustRef */ trust, out /* SecTrustResultType */ SecTrustResult result);
[Deprecated (PlatformName.iOS, 12, 1, message : "Use 'SecTrust.Evaluate (out NSError)' instead.")]
[Deprecated (PlatformName.TvOS, 12, 1, message : "Use 'SecTrust.Evaluate (out NSError)' instead.")]
[Deprecated (PlatformName.WatchOS, 5, 1, message : "Use 'SecTrust.Evaluate (out NSError)' instead.")]
[Deprecated (PlatformName.MacOSX, 10, 14, 1, message : "Use 'SecTrust.Evaluate (out NSError)' instead.")]
public SecTrustResult Evaluate ()
{
if (handle == IntPtr.Zero)